Pagini recente » Borderou de evaluare (job #780583) | Borderou de evaluare (job #1059091) | Borderou de evaluare (job #2307494) | Borderou de evaluare (job #1302434) | Borderou de evaluare (job #2523747)
Borderou de evaluare (job #2523747)
Raport evaluator
Compilare:
main.cpp: In function 'void parcurgere1(int)':
main.cpp:28: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:103: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:103: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:108: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:103: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:113: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:113: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:118: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:113: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:97:28: warning: unused variable 'x1' [-Wunused-variable]
double x1=v[alt][k].x;
^~
main.cpp:98:28: warning: unused variable 'y1' [-Wunused-variable]
double y1=v[alt][k].y;
^~
main.cpp:99:28: warning: unused variable 'x2' [-Wunused-variable]
double x2=v[alt][k+1].x;
^~
main.cpp:100:28: warning: unused variable 'y2' [-Wunused-variable]
double y2=v[alt][k+1].y;
^~
main.cpp:139: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:139: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:144: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 | 4ms | 1572kb | OK. | 2 |
2 | 5ms | 1572kb | OK. | 2 |
3 | 6ms | 1572kb | OK. | 2 |
4 | 6ms | 1572kb | OK. | 2 |
5 | 6ms | 1572kb | OK. | 2 |
6 | 7ms | 1572kb | OK. | 2 |
7 | 8ms | 1572kb | OK. | 2 |
8 | 8ms | 1572kb | OK. | 2 |
9 | 9ms | 1572kb | OK. | 2 |
10 | 9ms | 1572kb | OK. | 2 |
11 | 5ms | 1572kb | OK. | 4 |
12 | 5ms | 1572kb | OK. | 4 |
13 | 6ms | 1572kb | OK. | 4 |
14 | 6ms | 1572kb | OK. | 4 |
15 | 6ms | 1572kb | OK. | 4 |
16 | 7ms | 1572kb | OK. | 4 |
17 | 8ms | 1572kb | OK. | 4 |
18 | 8ms | 1572kb | OK. | 4 |
19 | 9ms | 1572kb | OK. | 4 |
20 | 9ms | 1572kb | OK. | 4 |
21 | 201ms | 1572kb | Time limit exceeded | 0 |
22 | 200ms | 1572kb | Time limit exceeded | 0 |
23 | 201ms | 1572kb | Time limit exceeded | 0 |
24 | 203ms | 1572kb | Time limit exceeded | 0 |
25 | 202ms | 1572kb | Time limit exceeded | 0 |
26 | 200ms | 1572kb | Time limit exceeded | 0 |
27 | 203ms | 1572kb | Time limit exceeded | 0 |
28 | 200ms | 1572kb | Time limit exceeded | 0 |
29 | 203ms | 1572kb | Time limit exceeded | 0 |
30 | 200ms | 1572kb | Time limit exceeded | 0 |
Punctaj total | 60 |