Borderou de evaluare (job #2523332)

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

Raport evaluator

Compilare: main.cpp: In function 'void parcurgere1(int)': main.cpp:27: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:66: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:66: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:71: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:66: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:76: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:76: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:81: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:76: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:60:28: warning: unused variable 'x1' [-Wunused-variable] double x1=v[alt][k].x; ^~ main.cpp:61:28: warning: unused variable 'y1' [-Wunused-variable] double y1=v[alt][k].y; ^~ main.cpp:62:28: warning: unused variable 'x2' [-Wunused-variable] double x2=v[alt][k+1].x; ^~ main.cpp:63:28: warning: unused variable 'y2' [-Wunused-variable] double y2=v[alt][k+1].y; ^~ main.cpp:102: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:102: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:107: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
14ms786kbKilled by Signal 110
24ms786kbKilled by Signal 110
34ms786kbKilled by Signal 110
44ms786kbKilled by Signal 110
53ms786kbKilled by Signal 110
64ms786kbKilled by Signal 110
74ms786kbKilled by Signal 110
84ms786kbKilled by Signal 110
93ms786kbKilled by Signal 110
104ms786kbKilled by Signal 110
114ms786kbKilled by Signal 110
124ms786kbKilled by Signal 110
137ms786kbKilled by Signal 110
145ms786kbKilled by Signal 110
154ms786kbKilled by Signal 110
164ms786kbKilled by Signal 110
174ms786kbKilled by Signal 110
186ms786kbKilled by Signal 110
194ms786kbKilled by Signal 110
205ms786kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?