Pagini recente » Borderou de evaluare (job #1996388) | Borderou de evaluare (job #1555198) | Borderou de evaluare (job #3133492) | Borderou de evaluare (job #2102550) | Borderou de evaluare (job #1209856)
Borderou de evaluare (job #1209856)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:105:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n", sum);
^
user.cpp:39: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:40: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:41: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:51: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 | 272kb | OK | 5 |
2 | 0ms | 272kb | OK | 5 |
3 | 0ms | 268kb | OK | 5 |
4 | 0ms | 276kb | OK | 5 |
5 | 0ms | 276kb | OK | 5 |
6 | 0ms | 276kb | OK | 5 |
7 | 0ms | 300kb | OK | 5 |
8 | 0ms | 316kb | OK | 5 |
9 | 0ms | 308kb | OK | 5 |
10 | 0ms | 308kb | OK | 5 |
11 | 0ms | 344kb | OK | 5 |
12 | 0ms | 348kb | OK | 5 |
13 | 0ms | 388kb | OK | 5 |
14 | 0ms | 388kb | OK | 5 |
15 | 0ms | 384kb | OK | 5 |
16 | 0ms | 388kb | OK | 5 |
17 | 0ms | 428kb | OK | 5 |
18 | 4ms | 468kb | OK | 5 |
19 | 4ms | 584kb | OK | 5 |
20 | 4ms | 620kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 95 |