Borderou de evaluare (job #2500724)

Utilizator TomKodeColev Thomas-Daniel TomKode Data 28 noiembrie 2019 16:16:07
Problema Vila Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:68:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int k=0;k<=2;k++) ^~~ main.cpp:71: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:69:23: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] if(v[k]!=v[k+1]) ~~~~~^ main.cpp:68:18: 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:71:15: warning: array subscript is above array bounds [-Warray-bounds] if(v[3]!=v[2]) ~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK10
23ms131kbIncorect0
34ms655kbIncorect0
44ms524kbIncorect0
54ms393kbIncorect0
65ms262kbOK10
75ms393kbIncorect0
84ms262kbOK10
94ms262kbOK10
106ms655kbOK10
Punctaj total50

Ceva nu functioneaza?