Pagini recente » Borderou de evaluare (job #1281270) | Borderou de evaluare (job #2235456) | Borderou de evaluare (job #1466446) | Borderou de evaluare (job #1028712) | Borderou de evaluare (job #1209851)
Borderou de evaluare (job #1209851)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:103:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n", sum);
^
user.cpp:36: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:37: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:39: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:49: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 | 276kb | OK | 5 |
2 | 0ms | 272kb | OK | 5 |
3 | 0ms | 276kb | OK | 5 |
4 | 0ms | 268kb | OK | 5 |
5 | 0ms | 272kb | OK | 5 |
6 | 0ms | 276kb | OK | 5 |
7 | 0ms | 300kb | OK | 5 |
8 | 0ms | 316kb | OK | 5 |
9 | 0ms | 312kb | OK | 5 |
10 | 0ms | 312kb | OK | 5 |
11 | 0ms | 348kb | OK | 5 |
12 | 0ms | 348kb | OK | 5 |
13 | 0ms | 388kb | OK | 5 |
14 | 0ms | 388kb | OK | 5 |
15 | 0ms | 388kb | OK | 5 |
16 | 0ms | 388kb | OK | 5 |
17 | 0ms | 424kb | OK | 5 |
18 | 4ms | 468kb | OK | 5 |
19 | 4ms | 588kb | OK | 5 |
20 | 4ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 95 |