Borderou de evaluare (job #2523041)

Utilizator serban.ionescuionescu serban mihai serban.ionescu Data 13 ianuarie 2020 18:32:22
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'void parcurgere1(int)': main.cpp:21:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int ii=1;ii<=insule[nod1].size();ii++) ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:60:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(pctx>=v[alt][k+1].x&&pctx<=v[alt][k].x||pctx<=v[alt][k+1].x&&pctx>=v[alt][k].x) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:60:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(pctx>=v[alt][k+1].x&&pctx<=v[alt][k].x||pctx<=v[alt][k+1].x&&pctx>=v[alt][k].x) ^~ main.cpp:65:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(nouadist<maxi&&nouadist!=0) ^~ main.cpp:60:23: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(pctx>=v[alt][k+1].x&&pctx<=v[alt][k].x||pctx<=v[alt][k+1].x&&pctx>=v[alt][k].x) ^ main.cpp:70:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(pcty>=v[alt][k+1].y&&pcty<=v[alt][k].y||pcty<=v[alt][k+1].y&&pcty>=v[alt][k].y) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:70:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(pcty>=v[alt][k+1].y&&pcty<=v[alt][k].y||pcty<=v[alt][k+1].y&&pcty>=v[alt][k].y) ^~ main.cpp:75:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(nouadist<maxi&&nouadist!=0) ^~ main.cpp:70:23: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(pcty>=v[alt][k+1].y&&pcty<=v[alt][k].y||pcty<=v[alt][k+1].y&&pcty>=v[alt][k].y) ^ main.cpp:54:28: warning: unused variable 'x1' [-Wunused-variable] double x1=v[alt][k].x; ^~ main.cpp:55:28: warning: unused variable 'y1' [-Wunused-variable] double y1=v[alt][k].y; ^~ main.cpp:56:28: warning: unused variable 'x2' [-Wunused-variable] double x2=v[alt][k+1].x; ^~ main.cpp:57:28: warning: unused variable 'y2' [-Wunused-variable] double y2=v[alt][k+1].y; ^~ main.cpp:96:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(pctx>=v[alt][k+1].x&&pctx<=v[alt][k].x||pctx<=v[alt][k+1].x&&pctx>=v[alt][k].x) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:96:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(pctx>=v[alt][k+1].x&&pctx<=v[alt][k].x||pctx<=v[alt][k+1].x&&pctx>=v[alt][k].x) ^~ main.cpp:101:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(nouadist<maxi&&nouadist!=0) ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms786kbOK.2
24ms786kbOK.2
35ms778kbOK.2
44ms786kbOK.2
54ms786kbOK.2
66ms786kbOK.2
78ms901kbOK.2
86ms917kbOK.2
97ms917kbOK.2
107ms917kbOK.2
114ms786kbOK.4
124ms786kbOK.4
134ms786kbOK.4
143ms786kbOK.4
155ms786kbOK.4
167ms786kbOK.4
176ms917kbOK.4
185ms917kbOK.4
198ms913kbOK.4
207ms917kbOK.4
214ms786kbSuma lungimilor rutelor gresita.0
224ms786kbSuma lungimilor rutelor gresita.0
233ms786kbSuma lungimilor rutelor gresita.0
244ms786kbSuma lungimilor rutelor gresita.0
255ms786kbSuma lungimilor rutelor gresita.0
265ms917kbSuma lungimilor rutelor gresita.0
277ms917kbSuma lungimilor rutelor gresita.0
286ms917kbSuma lungimilor rutelor gresita.0
297ms917kbSuma lungimilor rutelor gresita.0
307ms917kbSuma lungimilor rutelor gresita.0
Punctaj total60

Ceva nu functioneaza?