Borderou de evaluare (job #2397763)

Utilizator CristeaCristianCristea Cristian CristeaCristian Data 4 aprilie 2019 19:09:59
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:41:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=1) ^~ main.cpp:43:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' poz[1].y=y1; ^~~ main.cpp:44:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=2) ^~ main.cpp:46:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' poz[2].y=y1; ^~~ main.cpp:47:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=3) ^~ main.cpp:49: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:50:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=4) ^~ main.cpp:52: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:53:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=5) ^~ main.cpp:55:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' poz[5].y=y1; ^~~ main.cpp:56:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=1) ^~ main.cpp:58: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:59:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(n>=7) ^~ main.cpp:61: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:16:30: warning: unused variable 'p' [-Wunused-variable] int n,m,dist,x,k,s,i,j,q,p,temp,x1,y1,dir; ^ main.cpp:16:43: warning: unused variable 'dir' [-Wunused-variable] int n,m,dist,x,k,s,i,j,q,p,temp,x1,y1,dir; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
44ms131kbOK10
52ms131kbOK10
62ms131kbIncorect0
72ms131kbOK10
82ms131kbOK10
92ms131kbOK10
102ms131kbOK10
Punctaj total90

Ceva nu functioneaza?