Pagini recente » Borderou de evaluare (job #2648551) | Borderou de evaluare (job #2190536) | Cod sursa (job #2496551) | Cod sursa (job #166804) | Borderou de evaluare (job #2523820)
Borderou de evaluare (job #2523820)
Raport evaluator
Compilare:
main.cpp: In function 'void parcurgere1(int)':
main.cpp:29:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int ii=1;ii<=insule[nod1].size();ii++)
~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void kruskal(int, int, double)':
main.cpp:42:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(tata[bossx]!=bossx)
^~~~~
main.cpp:44:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(tata[bossy]!=bossy)
^~~~~
main.cpp: In function 'int main()':
main.cpp:92: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:92: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:97: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:92: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:102: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:102: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:107: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:102: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:86:28: warning: unused variable 'x1' [-Wunused-variable]
double x1=v[alt][k].x;
^~
main.cpp:87:28: warning: unused variable 'y1' [-Wunused-variable]
double y1=v[alt][k].y;
^~
main.cpp:88:28: warning: unused variable 'x2' [-Wunused-variable]
double x2=v[alt][k+1].x;
^~
main.cpp:89:28: warning: unused variable 'y2' [-Wunused-variable]
double y2=v[alt][k+1].y;
^~
main.cpp:128: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)
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 5ms | 1441kb | 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 | 7ms | 1572kb | OK. | 2 |
| 8 | 8ms | 1572kb | OK. | 2 |
| 9 | 9ms | 1572kb | OK. | 2 |
| 10 | 9ms | 1572kb | OK. | 2 |
| 11 | 5ms | 1441kb | OK. | 4 |
| 12 | 5ms | 1572kb | OK. | 4 |
| 13 | 6ms | 1572kb | OK. | 4 |
| 14 | 6ms | 1572kb | OK. | 4 |
| 15 | 7ms | 1572kb | OK. | 4 |
| 16 | 7ms | 1572kb | OK. | 4 |
| 17 | 7ms | 1572kb | OK. | 4 |
| 18 | 8ms | 1572kb | OK. | 4 |
| 19 | 9ms | 1572kb | OK. | 4 |
| 20 | 9ms | 1572kb | OK. | 4 |
| 21 | 5ms | 1572kb | OK. | 4 |
| 22 | 5ms | 1572kb | OK. | 4 |
| 23 | 6ms | 1572kb | OK. | 4 |
| 24 | 6ms | 1572kb | OK. | 4 |
| 25 | 7ms | 1572kb | OK. | 4 |
| 26 | 7ms | 1572kb | OK. | 4 |
| 27 | 7ms | 1572kb | OK. | 4 |
| 28 | 8ms | 1572kb | OK. | 4 |
| 29 | 9ms | 1572kb | OK. | 4 |
| 30 | 9ms | 1572kb | OK. | 4 |
| Punctaj total | 100 |