Pagini recente » Borderou de evaluare (job #1827082) | Borderou de evaluare (job #116723) | Borderou de evaluare (job #537410) | Borderou de evaluare (job #1681288) | Borderou de evaluare (job #2500725)
Borderou de evaluare (job #2500725)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:71:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
{for(int k=0;k<=2;k++)
^~~
main.cpp:74:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if(v[3]!=v[2])
^~
main.cpp:72:23: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations]
if(v[k]!=v[k+1])
~~~~~^
main.cpp:71:19: note: within this loop
{for(int k=0;k<=2;k++)
~^~~
main.cpp:66:8: warning: array subscript is above array bounds [-Warray-bounds]
v[3]=a[i][j+1];
~~~^
main.cpp:68:39: warning: array subscript is above array bounds [-Warray-bounds]
if(v[0]==v[1] && v[1]==v[2] && v[3]==v[2])
~~~^
main.cpp:74:15: warning: array subscript is above array bounds [-Warray-bounds]
if(v[3]!=v[2])
~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | Incorect | 0 |
3 | 5ms | 655kb | Incorect | 0 |
4 | 4ms | 524kb | Incorect | 0 |
5 | 5ms | 393kb | Incorect | 0 |
6 | 4ms | 262kb | OK | 10 |
7 | 4ms | 393kb | Incorect | 0 |
8 | 2ms | 262kb | OK | 10 |
9 | 4ms | 262kb | OK | 10 |
10 | 4ms | 655kb | OK | 10 |
Punctaj total | 50 |