Borderou de evaluare (job #2522787)

Utilizator serban.ionescuionescu serban mihai serban.ionescu Data 12 ianuarie 2020 23:32:16
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 36

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:44: 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)&&v[alt][k+1].x!=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)&&v[alt][k+1].x!=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)&&v[alt][k+1].x!=v[alt][k].x) ^ main.cpp:70:44: 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)&&v[alt][k+1].y!=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)&&v[alt][k+1].y!=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)&&v[alt][k+1].y!=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:44: 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)&&v[alt][k+1].x!=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)&&v[alt][k+1].x!=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
12ms262kbNumar de elicoptere gresit.0
23ms262kbNumar de elicoptere gresit.0
33ms262kbNumar de elicoptere gresit.0
43ms262kbNumar de elicoptere gresit.0
54ms262kbNumar de elicoptere gresit.0
64ms262kbNumar de elicoptere gresit.0
75ms262kbNumar de elicoptere gresit.0
85ms262kbNumar de elicoptere gresit.0
96ms262kbNumar de elicoptere gresit.0
107ms262kbKilled by Signal 110
112ms262kbOK.4
123ms262kbOK.4
133ms262kbOK.4
143ms262kbOK.4
154ms262kbOK.4
164ms262kbOK.4
175ms262kbOK.4
185ms262kbOK.4
196ms262kbOK.4
207ms262kbKilled by Signal 110
212ms131kbSuma lungimilor rutelor gresita.0
223ms262kbSuma lungimilor rutelor gresita.0
233ms262kbSuma lungimilor rutelor gresita.0
243ms262kbSuma lungimilor rutelor gresita.0
254ms262kbSuma lungimilor rutelor gresita.0
264ms262kbSuma lungimilor rutelor gresita.0
275ms262kbSuma lungimilor rutelor gresita.0
285ms262kbSuma lungimilor rutelor gresita.0
296ms262kbSuma lungimilor rutelor gresita.0
307ms262kbKilled by Signal 110
Punctaj total36

Ceva nu functioneaza?