Pagini recente » Borderou de evaluare (job #2933387) | Borderou de evaluare (job #1338996) | Borderou de evaluare (job #958050) | Borderou de evaluare (job #3254303) | Borderou de evaluare (job #1966878)
Borderou de evaluare (job #1966878)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
user.cpp:16:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &x);
^
user.cpp:17:24: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ans += max(x - y, 0);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 10 |
2 | 0ms | 272kb | OK | 10 | 10 |
3 | 0ms | 268kb | OK | 10 | 10 |
4 | 0ms | 264kb | OK | 10 | 10 |
5 | 20ms | 264kb | OK | 10 | 20 |
6 | 0ms | 268kb | OK | 10 |
7 | 4ms | 268kb | OK | 10 | 20 |
8 | 120ms | 268kb | OK | 10 |
9 | 224ms | 268kb | OK | 10 | 10 |
10 | 268ms | 264kb | OK | 10 | 10 |
Punctaj total | 100 |