Pagini recente » Borderou de evaluare (job #1731065) | Borderou de evaluare (job #1521901)
Borderou de evaluare (job #1521901)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:13:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.c:15:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &v[i]);
^
user.c:16:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &t);
^
user.c:43:10: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(out, "%d\n%d %d", max, max2(0, p1 - t), max2(0, p2 - t));
^
user.c:43:10: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 284kb | OK | 10 |
| 4 | 0ms | 324kb | OK | 10 |
| 5 | 16ms | 868kb | OK | 10 |
| 6 | 12ms | 864kb | OK | 10 |
| 7 | 20ms | 1096kb | OK | 10 |
| 8 | 24ms | 1100kb | OK | 10 |
| 9 | 32ms | 1436kb | OK | 10 |
| 10 | 32ms | 1440kb | OK | 10 |
| Punctaj total | 100 |