Borderou de evaluare (job #2500723)

Utilizator TomKodeColev Thomas-Daniel TomKode Data 28 noiembrie 2019 16:13:28
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
12ms131kbOK10
23ms131kbIncorect0
34ms524kbIncorect0
44ms524kbIncorect0
55ms393kbIncorect0
63ms262kbOK10
74ms393kbIncorect0
83ms262kbOK10
94ms262kbOK10
104ms655kbOK10
Punctaj total50

Ceva nu functioneaza?