Pagini recente » Borderou de evaluare (job #2158289) | Borderou de evaluare (job #2886928) | Borderou de evaluare (job #1521899)
Borderou de evaluare (job #1521899)
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 | 284kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 284kb | OK | 10 |
| 4 | 0ms | 320kb | OK | 10 |
| 5 | 16ms | 764kb | OK | 10 |
| 6 | 16ms | 760kb | OK | 10 |
| 7 | 20ms | 964kb | OK | 10 |
| 8 | 24ms | 964kb | OK | 10 |
| 9 | 32ms | 1248kb | OK | 10 |
| 10 | 32ms | 1248kb | Incorect | 0 |
| Punctaj total | 90 |