Pagini recente » Cod sursa (job #49751) | Borderou de evaluare (job #1772638) | Borderou de evaluare (job #195312) | Borderou de evaluare (job #2241495) | Borderou de evaluare (job #1569398)
Borderou de evaluare (job #1569398)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:41:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘short int *’ [-Wformat=]
fscanf(fin, "%d", &v[i]);
^
user.c:39:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.c:41:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
user.c:54:16: warning: ‘min.j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d %d %d\n", min.val, min.j + 1, min.i + 1);
^
user.c:54:16: warning: ‘min.i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK | 10 |
| 2 | 0ms | 284kb | OK | 10 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 0ms | 284kb | OK | 10 |
| 6 | 0ms | 284kb | OK | 10 |
| 7 | 0ms | 288kb | OK | 10 |
| 8 | 0ms | 296kb | OK | 10 |
| 9 | 0ms | 312kb | OK | 10 |
| 10 | 4ms | 312kb | OK | 10 |
| Punctaj total | 100 |