Pagini recente » Borderou de evaluare (job #9093) | Borderou de evaluare (job #2243508) | Borderou de evaluare (job #142074) | Borderou de evaluare (job #1779813) | Borderou de evaluare (job #1704739)
Borderou de evaluare (job #1704739)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l=(-sgn[v[x].dir])*nivx-v[x].vol/2;
^
user.cpp:33:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r=(-sgn[v[x].dir])*nivx+v[x].vol/2;
^
user.cpp:35:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l+=sgn[v[i].dir]*v[i].vol/2;
^
user.cpp:36:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r+=sgn[v[i].dir]*v[i].vol/2;
^
user.cpp:39:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%d\n", s);
^
user.cpp:20:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:23:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %c", &v[i].vol, &v[i].dir);
^
user.cpp:26:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 1056kb | Raspuns gresit | 0 |
2 | 0ms | 272kb | OK | 5 |
3 | 32ms | 1056kb | Raspuns gresit | 0 |
4 | 32ms | 1052kb | Raspuns gresit | 0 |
5 | 0ms | 276kb | Primul numar corect | 1 |
6 | 0ms | 280kb | Primul numar corect | 1 |
7 | 0ms | 276kb | OK | 5 |
8 | 0ms | 276kb | Primul numar corect | 1 |
9 | 8ms | 592kb | Primul numar corect | 1 |
10 | 12ms | 668kb | OK | 5 |
11 | 0ms | 296kb | OK | 5 |
12 | 24ms | 908kb | Primul numar corect | 1 |
13 | 24ms | 884kb | OK | 5 |
14 | 0ms | 288kb | Primul numar corect | 1 |
15 | 0ms | 276kb | OK | 5 |
16 | 0ms | 280kb | OK | 5 |
17 | 32ms | 1052kb | Primul numar corect | 1 |
18 | 32ms | 1052kb | OK | 5 |
19 | 20ms | 924kb | OK | 5 |
20 | 0ms | 280kb | OK | 5 |
Punctaj total | 57 |