Borderou de evaluare (job #2399365)

Utilizator TghicaGhica Tudor Tghica Data 7 aprilie 2019 13:53:48
Problema Zumzi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:51:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=1) ^~ main.cpp:55:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' poz[1].y=y1; ^~~ main.cpp:57:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=2) ^~ main.cpp:61:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' poz[2].y=y1; ^~~ main.cpp:63:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=3) ^~ main.cpp:67:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' poz[3].y=y1-1; ^~~ main.cpp:69:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=4) ^~ main.cpp:73:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' poz[4].y=y1-1; ^~~ main.cpp:75:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=5) ^~ main.cpp:79:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' poz[5].y=y1; ^~~ main.cpp:81:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=1) ^~ main.cpp:85:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' poz[6].y=y1+1; ^~~ main.cpp:87:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=7) ^~ main.cpp:91:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' poz[7].y=y1+1; ^~~ main.cpp:18:13: warning: unused variable 'r' [-Wunused-variable] int k,n,r,sc=1,nrc=1,ok=0,x1,y1,val,m,nr,temp; ^ main.cpp:18:26: warning: unused variable 'ok' [-Wunused-variable] int k,n,r,sc=1,nrc=1,ok=0,x1,y1,val,m,nr,temp; ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
62ms131kbIncorect0
72ms131kbOK10
82ms131kbOK10
92ms131kbOK10
102ms131kbOK10
Punctaj total90

Ceva nu functioneaza?