Pagini recente » Cod sursa (job #61352) | Borderou de evaluare (job #3130644) | Atasamentele paginii Profil vlad-olteanu | Borderou de evaluare (job #542553) | Borderou de evaluare (job #2818703)
Borderou de evaluare (job #2818703)
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:312:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
312 | while(aux1!=nod_curent || aux2!=this->lista_vecini[nod_curent][i].first);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::havelhakimi()':
main.cpp:440:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
440 | for (unsigned int i=0; i<=vmax; ++i)
| ~^~~~~~
main.cpp:441:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
441 | for (unsigned int j=0; j<ap[i]; ++j)
| ~^~~~~~
main.cpp: In member function 'void graf::disjoint()':
main.cpp:645:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
645 | for (unsigned int i=0; i<=n; ++i)
| ~^~~
main.cpp: In member function 'void graf::dijkstra()':
main.cpp:723: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]
723 | for (int i=0; i<this->lista_vecini[nod].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::Bellman_Ford()':
main.cpp:784:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
784 | if (nrCoada[nod_dest]>=this->n)
| ~~~~~~~~~~~~~~~~~^~~~~~~~~
main.cpp: In member function 'void graf::maxflow()':
main.cpp:844:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
844 | if (nod_curent!=this->n)
| ~~~~~~~~~~^~~~~~~~~
main.cpp: In member function 'void graf::cicluhamilton()':
main.cpp:1022:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
1022 | for (i=0; i<(1<<this->n); ++i)
| ~^~~~~~~~~~~~~
main.cpp:1034:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
1034 | for (i=0; i<1<<this->n; ++i)
| ~^~~~~~~~~~~
main.cpp:1036:24: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]
1036 | if (i && (1<<j))
| ~~^~~~
main.cpp:1040:32: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]
1040 | if (i && (1<<vecin))
| ~~^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 184kb | OK | 5 | 5 |
| 2 | 2ms | 184kb | OK | 5 | 5 |
| 3 | 2ms | 184kb | OK | 5 | 5 |
| 4 | 2ms | 184kb | OK | 5 | 5 |
| 5 | 2ms | 184kb | OK | 5 | 5 |
| 6 | 2ms | 184kb | OK | 5 | 10 |
| 7 | 6ms | 200kb | OK | 5 |
| 8 | 45ms | 1527kb | OK | 5 | 15 |
| 9 | 45ms | 1290kb | OK | 5 |
| 10 | 6ms | 221kb | OK | 5 |
| 11 | 73ms | 2461kb | OK | 5 | 20 |
| 12 | 112ms | 2564kb | OK | 5 |
| 13 | 78ms | 2244kb | OK | 5 |
| 14 | 155ms | 3407kb | OK | 5 |
| 15 | 198ms | 4079kb | OK | 5 | 15 |
| 16 | 159ms | 3436kb | OK | 5 |
| 17 | 21ms | 200kb | OK | 5 |
| 18 | 236ms | 5193kb | OK | 5 | 15 |
| 19 | 288ms | 5955kb | OK | 5 |
| 20 | 30ms | 303kb | OK | 5 |
| Punctaj total | 100 |