Pagini recente » Borderou de evaluare (job #1789148) | Borderou de evaluare (job #1125916) | Borderou de evaluare (job #1070352) | Borderou de evaluare (job #850082) | Borderou de evaluare (job #1424551)
Borderou de evaluare (job #1424551)
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 | Incorect | 0 |
3 | 4ms | 600kb | Incorect | 0 |
4 | 8ms | 736kb | Incorect | 0 |
5 | 196ms | 5028kb | Incorect | 0 |
6 | 232ms | 9188kb | Incorect | 0 |
7 | 256ms | 9272kb | OK | 5 |
8 | 272ms | 9312kb | OK | 5 |
9 | 288ms | 9356kb | OK | 5 |
10 | 292ms | 9436kb | OK | 5 |
11 | 236ms | 9192kb | Incorect | 0 |
12 | 304ms | 9432kb | OK | 5 |
13 | 380ms | 9432kb | OK | 5 |
14 | 420ms | 9592kb | OK | 5 |
15 | 588ms | 18324kb | OK | 5 |
16 | 608ms | 18320kb | OK | 5 |
17 | 620ms | 18328kb | OK | 5 |
18 | 616ms | 18364kb | OK | 5 |
19 | 624ms | 18400kb | OK | 5 |
20 | 628ms | 18396kb | OK | 5 |
Punctaj total | 70 |