Pagini recente » Borderou de evaluare (job #2890660) | Borderou de evaluare (job #898748) | Borderou de evaluare (job #1225297) | Borderou de evaluare (job #2558365) | Borderou de evaluare (job #2523040)
Borderou de evaluare (job #2523040)
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 |
1 | 5ms | 786kb | OK. | 2 |
2 | 4ms | 786kb | OK. | 2 |
3 | 4ms | 786kb | OK. | 2 |
4 | 5ms | 786kb | OK. | 2 |
5 | 5ms | 786kb | OK. | 2 |
6 | 5ms | 917kb | OK. | 2 |
7 | 6ms | 786kb | OK. | 2 |
8 | 8ms | 917kb | OK. | 2 |
9 | 8ms | 917kb | OK. | 2 |
10 | 6ms | 917kb | OK. | 2 |
11 | 4ms | 786kb | Numar de perechi de insule gresit. | 0 |
12 | 4ms | 786kb | Numar de perechi de insule gresit. | 0 |
13 | 5ms | 786kb | Numar de perechi de insule gresit. | 0 |
14 | 4ms | 786kb | Numar de perechi de insule gresit. | 0 |
15 | 6ms | 901kb | Numar de perechi de insule gresit. | 0 |
16 | 4ms | 786kb | Numar de perechi de insule gresit. | 0 |
17 | 7ms | 786kb | Numar de perechi de insule gresit. | 0 |
18 | 6ms | 917kb | Numar de perechi de insule gresit. | 0 |
19 | 8ms | 917kb | Numar de perechi de insule gresit. | 0 |
20 | 7ms | 917kb | Numar de perechi de insule gresit. | 0 |
21 | 4ms | 786kb | Suma lungimilor rutelor gresita. | 0 |
22 | 4ms | 786kb | Suma lungimilor rutelor gresita. | 0 |
23 | 4ms | 786kb | Suma lungimilor rutelor gresita. | 0 |
24 | 6ms | 901kb | Suma lungimilor rutelor gresita. | 0 |
25 | 5ms | 786kb | Suma lungimilor rutelor gresita. | 0 |
26 | 7ms | 905kb | Suma lungimilor rutelor gresita. | 0 |
27 | 5ms | 917kb | Suma lungimilor rutelor gresita. | 0 |
28 | 6ms | 917kb | Suma lungimilor rutelor gresita. | 0 |
29 | 7ms | 917kb | Suma lungimilor rutelor gresita. | 0 |
30 | 8ms | 917kb | Suma lungimilor rutelor gresita. | 0 |
Punctaj total | 20 |