Pagini recente » Borderou de evaluare (job #1942732) | Borderou de evaluare (job #1370414) | Borderou de evaluare (job #1819889) | Borderou de evaluare (job #1332865) | Borderou de evaluare (job #1424554)
Borderou de evaluare (job #1424554)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:67:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d", &tip, &a, &b);
^
user.cpp:74:30: warning: integer overflow in expression [-Woverflow]
sol = -(1ll << 63);
^
user.cpp:58:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxq.in", "r", stdin);
^
user.cpp:59:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxq.out", "w", stdout);
^
user.cpp:60:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:62:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &X[i]);
^
user.cpp:64:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:67:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &tip, &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 5 |
2 | 4ms | 524kb | OK | 5 |
3 | 4ms | 600kb | OK | 5 |
4 | 8ms | 736kb | OK | 5 |
5 | 196ms | 5020kb | OK | 5 |
6 | 228ms | 9184kb | OK | 5 |
7 | 260ms | 9268kb | OK | 5 |
8 | 276ms | 9312kb | OK | 5 |
9 | 288ms | 9352kb | OK | 5 |
10 | 292ms | 9424kb | OK | 5 |
11 | 248ms | 9188kb | OK | 5 |
12 | 320ms | 9428kb | OK | 5 |
13 | 400ms | 9424kb | OK | 5 |
14 | 440ms | 9584kb | OK | 5 |
15 | 620ms | 18324kb | OK | 5 |
16 | 636ms | 18324kb | OK | 5 |
17 | 648ms | 18324kb | OK | 5 |
18 | 652ms | 18356kb | OK | 5 |
19 | 648ms | 18396kb | OK | 5 |
20 | 648ms | 18396kb | OK | 5 |
Punctaj total | 100 |