Pagini recente » Borderou de evaluare (job #2022777) | Borderou de evaluare (job #1120908) | Borderou de evaluare (job #809119) | Borderou de evaluare (job #1954871) | Borderou de evaluare (job #1377164)
Borderou de evaluare (job #1377164)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:20:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%c%c",&y,&z,&c);
^
user.cpp:34:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d\n",maxgrad);
^
user.cpp:41:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&x);
^
user.cpp:44:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:46:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%c%c",&y,&z,&c);
^
user.cpp:56:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d D\n%d D",dreapta+d[i],dreapta);
^
user.cpp:56:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:59:76: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d S\n%d D",dreapta-2*(dreapta),dreapta+d[i]);
^
user.cpp:59:76: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:61:93: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d S\n%d S",dreapta-2*(dreapta),dreapta+d[i]-2*(dreapta+d[i]));
^
user.cpp:61:93: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:74:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d S\n%d S",stanga+s[i],stanga);
^
user.cpp:74:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:77:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d S\n%d D",stanga+s[i],stanga-2*stanga);
^
user.cpp:77:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:79:87: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d D\n%d D",stanga-2*stanga,stanga+s[i]-2*(stanga+s[i]));
^
user.cpp:79:87: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:15:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:20:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%c%c",&y,&z,&c);
^
user.cpp:41:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 68ms | 1048kb | Raspuns gresit | 0 |
2 | 0ms | 260kb | Primul numar corect | 1 |
3 | 52ms | 1036kb | Raspuns gresit | 0 |
4 | 52ms | 1044kb | Raspuns gresit | 0 |
5 | 0ms | 260kb | Primul numar corect | 1 |
6 | 0ms | 264kb | OK | 5 |
7 | 0ms | 264kb | Primul numar corect | 1 |
8 | 0ms | 260kb | Primul numar corect | 1 |
9 | 12ms | 572kb | Primul numar corect | 1 |
10 | 16ms | 652kb | Primul numar corect | 1 |
11 | 0ms | 280kb | Primul numar corect | 1 |
12 | 40ms | 896kb | Primul numar corect | 1 |
13 | 28ms | 872kb | Primul numar corect | 1 |
14 | 0ms | 272kb | Primul numar corect | 1 |
15 | 0ms | 264kb | Primul numar corect | 1 |
16 | 0ms | 264kb | Primul numar corect | 1 |
17 | 44ms | 1044kb | Primul numar corect | 1 |
18 | 68ms | 1036kb | Primul numar corect | 1 |
19 | 32ms | 908kb | Primul numar corect | 1 |
20 | 0ms | 260kb | Primul numar corect | 1 |
Punctaj total | 21 |