Pagini recente » Borderou de evaluare (job #2258480) | Cod sursa (job #2590855) | Monitorul de evaluare | Diferente pentru problema/eval intre reviziile 23 si 22 | Borderou de evaluare (job #2037581)
Borderou de evaluare (job #2037581)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d", &v[i]);
^
user.cpp:17:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (st<=dr && v[i]<=v[d[dr]])
^
user.cpp:21:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s+=v[d[st]];
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("deque.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("deque.out","w",stdout);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 436kb | OK | 5 | 5 |
| 2 | 0ms | 436kb | OK | 5 | 5 |
| 3 | 0ms | 436kb | Incorect | 0 | 0 |
| 4 | 0ms | 436kb | Incorect | 0 | 0 |
| 5 | 32ms | 532kb | Incorect | 0 | 0 |
| 6 | 32ms | 532kb | Incorect | 0 | 0 |
| 7 | 72ms | 684kb | Incorect | 0 | 0 |
| 8 | 80ms | 680kb | Incorect | 0 |
| 9 | 72ms | 736kb | Incorect | 0 |
| 10 | 76ms | 680kb | Incorect | 0 | 0 |
| 11 | 72ms | 676kb | Incorect | 0 |
| 12 | 80ms | 732kb | Incorect | 0 |
| 13 | 764ms | 4896kb | Incorect | 0 | 0 |
| 14 | 736ms | 2880kb | Incorect | 0 |
| 15 | 784ms | 2872kb | Incorect | 0 |
| 16 | 1512ms | 5320kb | Incorect | 0 |
| 17 | 1504ms | 6200kb | Incorect | 0 |
| 18 | 1524ms | 5316kb | Incorect | 0 |
| 19 | 1484ms | 5316kb | Incorect | 0 |
| 20 | 1472ms | 5316kb | Incorect | 0 |
| Punctaj total | 10 |