Pagini recente » Borderou de evaluare (job #2736980) | Borderou de evaluare (job #985455) | Borderou de evaluare (job #503459) | Borderou de evaluare (job #2773867) | Borderou de evaluare (job #2713723)
Borderou de evaluare (job #2713723)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:46:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
printf("%d", ans);
^
main.cpp:15:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("leftmax.in", "r", stdin);
^
main.cpp:16:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("leftmax.out", "w", stdout);
^
main.cpp:19:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
main.cpp:22:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 2ms | 131kb | OK | 5 |
6 | 5ms | 262kb | OK | 5 |
7 | 5ms | 262kb | OK | 5 |
8 | 5ms | 262kb | OK | 5 |
9 | 6ms | 262kb | OK | 5 |
10 | 5ms | 262kb | OK | 5 |
11 | 5ms | 262kb | OK | 5 |
12 | 32ms | 1703kb | OK | 5 |
13 | 40ms | 1703kb | OK | 5 |
14 | 32ms | 1703kb | OK | 5 |
15 | 40ms | 1703kb | OK | 5 |
16 | 105ms | 5373kb | Incorect | 0 |
17 | 154ms | 5373kb | Incorect | 0 |
18 | 107ms | 5373kb | Incorect | 0 |
19 | 165ms | 5505kb | OK | 5 |
20 | 105ms | 5373kb | Incorect | 0 |
Punctaj total | 80 |