Pagini recente »
Borderou de evaluare (job #667107)
Borderou de evaluare (job #667107)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
20 | if (v[i-1]==1)
| ^
main.cpp:13:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
13 | if (i==0)
| ^
main.cpp:20:22: warning: array subscript 4294967295 is above array bounds of 'int [5000]' [-Warray-bounds]
20 | if (v[i-1]==1)
| ~~~~~^
main.cpp:6:5: note: while referencing 'v'
6 | int v[5000];
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
110 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
6
|
1 ms
|
114 kb
|
Incorect
|
0
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
114 kb
|
Incorect
|
0
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
Punctaj total
|
0
|