Pagini recente » Borderou de evaluare (job #254913) | Borderou de evaluare (job #360765) | Borderou de evaluare (job #2619987) | Borderou de evaluare (job #1884968) | Borderou de evaluare (job #2462074)
Borderou de evaluare (job #2462074)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (j = 0; j < m; j++)
^~~
main.cpp:21:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
sort(g, g + m);
^~~~
main.cpp:16:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^
main.cpp:18:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &c[i]);
^
main.cpp:20:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &g[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 126ms | 1048kb | OK | 10 |
6 | 130ms | 1179kb | OK | 10 |
7 | 129ms | 1179kb | OK | 10 |
8 | 121ms | 1208kb | OK | 10 |
9 | 126ms | 1179kb | OK | 10 |
10 | 92ms | 1179kb | OK | 10 |
Punctaj total | 100 |