Pagini recente » Borderou de evaluare (job #1656945) | Borderou de evaluare (job #1648215) | Borderou de evaluare (job #2037618) | Borderou de evaluare (job #3290129) | Borderou de evaluare (job #2037579)
Borderou de evaluare (job #2037579)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d", &v[i]);
^
user.cpp:18:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (st<=dr && v[i]<=v[d[dr]])
^
user.cpp:22: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:15: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 | 440kb | OK | 5 | 5 |
2 | 0ms | 436kb | OK | 5 | 5 |
3 | 0ms | 444kb | Incorect | 0 | 0 |
4 | 0ms | 440kb | Incorect | 0 | 0 |
5 | 32ms | 536kb | Incorect | 0 | 0 |
6 | 32ms | 536kb | Incorect | 0 | 0 |
7 | 76ms | 676kb | Incorect | 0 | 0 |
8 | 80ms | 684kb | Incorect | 0 |
9 | 72ms | 736kb | Incorect | 0 |
10 | 80ms | 680kb | Incorect | 0 | 0 |
11 | 80ms | 680kb | Incorect | 0 |
12 | 72ms | 732kb | Incorect | 0 |
13 | 744ms | 4896kb | Incorect | 0 | 0 |
14 | 748ms | 2876kb | Incorect | 0 |
15 | 748ms | 2876kb | Incorect | 0 |
16 | 1456ms | 5316kb | Incorect | 0 |
17 | 1512ms | 6200kb | Incorect | 0 |
18 | 1496ms | 5316kb | Incorect | 0 |
19 | 1680ms | 5320kb | Incorect | 0 |
20 | 1440ms | 5316kb | Incorect | 0 |
Punctaj total | 10 |