Pagini recente » Borderou de evaluare (job #89898) | Borderou de evaluare (job #848784) | Borderou de evaluare (job #201091) | Borderou de evaluare (job #2016904) | Borderou de evaluare (job #2819774)
Borderou de evaluare (job #2819774)
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:333:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
333 | while(aux1!=nod_curent || aux2!=this->lista_vecini[nod_curent][i].first);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::havelhakimi()':
main.cpp:461:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
461 | for (unsigned int i=0; i<=vmax; ++i)
| ~^~~~~~
main.cpp:462:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
462 | for (unsigned int j=0; j<ap[i]; ++j)
| ~^~~~~~
main.cpp: In member function 'void graf::disjoint()':
main.cpp:666:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
666 | for (unsigned int i=0; i<=n; ++i)
| ~^~~
main.cpp: In member function 'void graf::dijkstra()':
main.cpp:744: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]
744 | for (int i=0; i<this->lista_vecini[nod].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::Bellman_Ford()':
main.cpp:805:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
805 | if (nrCoada[nod_dest]>=this->n)
| ~~~~~~~~~~~~~~~~~^~~~~~~~~
main.cpp: In member function 'void graf::maxflow()':
main.cpp:865:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
865 | if (nod_curent!=this->n)
| ~~~~~~~~~~^~~~~~~~~
main.cpp: In member function 'void graf::cicluhamilton()':
main.cpp:1052:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
1052 | for (i=0; i<(1<<this->n); ++i)
| ~^~~~~~~~~~~~~
main.cpp:1064:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
1064 | for (i=0; i<1<<this->n; ++i)
| ~^~~~~~~~~~~
main.cpp:1066:24: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]
1066 | if (i && (1<<j))
| ~~^~~~
main.cpp:1070:32: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]
1070 | 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 | 11ms | 765kb | OK | 5 |
5 | 2ms | 184kb | OK | 5 |
6 | 2ms | 184kb | OK | 5 |
7 | 2ms | 184kb | OK | 5 |
8 | 2ms | 184kb | OK | 5 |
9 | 2ms | 184kb | OK | 5 |
10 | 2ms | 184kb | OK | 5 |
11 | 30ms | 1880kb | OK | 5 |
12 | 21ms | 1748kb | OK | 5 |
13 | 35ms | 2473kb | OK | 5 |
14 | 40ms | 2789kb | OK | 5 |
15 | 54ms | 3362kb | OK | 5 |
16 | 68ms | 4022kb | OK | 5 |
17 | 92ms | 10760kb | OK | 5 |
18 | 6ms | 2428kb | OK | 5 |
19 | 11ms | 2793kb | OK | 5 |
20 | 82ms | 5316kb | OK | 5 |
Punctaj total | 100 |