Pagini recente » Borderou de evaluare (job #406093) | Borderou de evaluare (job #334701) | Borderou de evaluare (job #1147197) | Borderou de evaluare (job #1857206) | Borderou de evaluare (job #1209909)
Borderou de evaluare (job #1209909)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:97:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n", sum);
^
user.cpp:35:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.in", "r", stdin);
^
user.cpp:36:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.out", "w", stdout);
^
user.cpp:37:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd", &n, &k);
^
user.cpp:46:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 5 |
2 | 0ms | 272kb | OK | 5 |
3 | 0ms | 268kb | OK | 5 |
4 | 0ms | 272kb | OK | 5 |
5 | 0ms | 272kb | OK | 5 |
6 | 0ms | 276kb | OK | 5 |
7 | 0ms | 296kb | OK | 5 |
8 | 0ms | 312kb | OK | 5 |
9 | 0ms | 308kb | OK | 5 |
10 | 0ms | 312kb | OK | 5 |
11 | 0ms | 344kb | OK | 5 |
12 | 0ms | 352kb | OK | 5 |
13 | 0ms | 388kb | OK | 5 |
14 | 0ms | 384kb | OK | 5 |
15 | 0ms | 388kb | OK | 5 |
16 | 0ms | 384kb | OK | 5 |
17 | 0ms | 420kb | OK | 5 |
18 | 4ms | 460kb | OK | 5 |
19 | 4ms | 576kb | OK | 5 |
20 | 8ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 95 |