Pagini recente » Borderou de evaluare (job #2414213) | Borderou de evaluare (job #897802) | Borderou de evaluare (job #2551413) | Borderou de evaluare (job #1836858) | Borderou de evaluare (job #2665182)
Borderou de evaluare (job #2665182)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:37:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (i = 0; i <= 200; i ++)
^~~
main.c:38:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
sum = 0; count = 0;
^~~~~
main.c:14:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &v[i][2], &v[i][1]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:20:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i][j + 2]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:23:31: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; i ++) fscanf(fin, "%d", &price[i]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:63:9: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (h % 2) fprintf(fout, ".5");
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 4ms | 131kb | OK | 10 |
5 | 4ms | 131kb | OK | 10 |
6 | 6ms | 131kb | OK | 10 |
7 | 10ms | 131kb | OK | 10 |
8 | 11ms | 131kb | OK | 10 |
9 | 9ms | 131kb | OK | 10 |
10 | 10ms | 131kb | OK | 10 |
Punctaj total | 100 |