Pagini recente » Borderou de evaluare (job #1488787) | Borderou de evaluare (job #1085004) | Borderou de evaluare (job #1333615) | Borderou de evaluare (job #1843901) | Borderou de evaluare (job #2810924)
Borderou de evaluare (job #2810924)
Raport evaluator
Compilare:
main.cpp: In member function 'void graf::biconex(unsigned int, int*, int*, unsigned int&, std::stack<std::pair<unsigned int, unsigned int> >&, std::vector<unsigned int>&)':
main.cpp:295:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
295 | while(aux1!=nod_curent || aux2!=this->lista_vecini[nod_curent][i].first);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::havelhakimi()':
main.cpp:412:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
412 | for (unsigned int i=0; i<=vmax; ++i)
| ~^~~~~~
main.cpp:413:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
413 | for (unsigned int j=0; j<ap[i]; ++j)
| ~^~~~~~
main.cpp: In member function 'void graf::disjoint()':
main.cpp:603:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
603 | for (unsigned int i=0; i<=n; ++i)
| ~^~~
main.cpp: In member function 'void graf::dijkstra()':
main.cpp:672:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
672 | for (int i=0; i<this->lista_vecini[nod].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::Bellman_Ford()':
main.cpp:728:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
728 | if (nrCoada[nod_dest]>this->n)
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.cpp: In member function 'void graf::maxflow()':
main.cpp:783:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
783 | if (nod_curent!=this->n)
| ~~~~~~~~~~^~~~~~~~~
main.cpp: In member function 'void graf::cicluhamilton()':
main.cpp:951:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
951 | for (i=0; i<(1<<this->n); ++i)
| ~^~~~~~~~~~~~~
main.cpp:963:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
963 | for (i=0; i<1<<this->n; ++i)
| ~^~~~~~~~~~~
main.cpp:965:24: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]
965 | if (i && (1<<j))
| ~~^~~~
main.cpp:969:32: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]
969 | if (i && (1<<vecin))
| ~~^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | OK | 5 |
| 2 | 2ms | 184kb | OK | 5 |
| 3 | 2ms | 184kb | OK | 5 |
| 4 | 2ms | 184kb | OK | 5 |
| 5 | 2ms | 184kb | OK | 5 |
| 6 | 2ms | 184kb | OK | 5 |
| 7 | 49ms | 4456kb | OK | 5 |
| 8 | 39ms | 4341kb | OK | 5 |
| 9 | 21ms | 1110kb | OK | 5 |
| 10 | 25ms | 1118kb | OK | 5 |
| 11 | 25ms | 1179kb | OK | 5 |
| 12 | 25ms | 1118kb | OK | 5 |
| 13 | 25ms | 1118kb | OK | 5 |
| 14 | 21ms | 1048kb | OK | 5 |
| 15 | 503ms | 19161kb | OK | 5 |
| 16 | 493ms | 19083kb | OK | 5 |
| 17 | 343ms | 19173kb | OK | 5 |
| 18 | 650ms | 19177kb | OK | 5 |
| 19 | 508ms | 19103kb | OK | 5 |
| 20 | 621ms | 19152kb | OK | 5 |
| Punctaj total | 100 |