Borderou de evaluare (job #3187306)

Utilizator Sasha_12454Sasha Costea Sasha_12454 Data 28 decembrie 2023 13:45:09
Problema Zona Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 2

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:28:15: warning: operation on 'cnt' may be undefined [-Wsequence-point] 28 | v[++cnt].x=v[cnt-1].x-1,v[cnt].y=v[cnt-1].y; | ^~~~~ main.cpp:30:15: warning: operation on 'cnt' may be undefined [-Wsequence-point] 30 | v[++cnt].x=v[cnt-1].x,v[cnt].y=v[cnt-1].y+1; | ^~~~~ main.cpp:32:19: warning: operation on 'cnt' may be undefined [-Wsequence-point] 32 | v[++cnt].x=v[cnt-1].x+1,v[cnt].y=v[cnt-1].y; | ^~~~~ main.cpp:34:19: warning: operation on 'cnt' may be undefined [-Wsequence-point] 34 | v[++cnt].x=v[cnt-1].x,v[cnt].y=v[cnt-1].y-1; | ^~~~~ main.cpp:33:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 33 | else | ^~~~ main.cpp:35:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 35 | if(cautare()) | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
70ms303kbCerinta 1 corecta2
80ms303kbIncorect0
90ms303kbIncorect0
100ms303kbIncorect0
Punctaj total2

Ceva nu functioneaza?