Pagini recente » Borderou de evaluare (job #1657304) | Borderou de evaluare (job #1784685) | Borderou de evaluare (job #422457) | Borderou de evaluare (job #984912) | Borderou de evaluare (job #2810247)
Borderou de evaluare (job #2810247)
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:291:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
291 | while(aux1!=nod_curent || aux2!=this->lista_vecini[nod_curent][i].first);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::havelhakimi()':
main.cpp:408:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
408 | for (unsigned int i=0; i<=vmax; ++i)
| ~^~~~~~
main.cpp:409:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
409 | for (unsigned int j=0; j<ap[i]; ++j)
| ~^~~~~~
main.cpp: In member function 'void graf::disjoint()':
main.cpp:599:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
599 | for (unsigned int i=0; i<=n; ++i)
| ~^~~
main.cpp: In member function 'void graf::dijkstra()':
main.cpp:668: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]
668 | for (int i=0; i<this->lista_vecini[nod].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::Bellman_Ford()':
main.cpp:724:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
724 | if (nrCoada[nod_dest]>this->n)
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.cpp: In member function 'void graf::darb()':
main.cpp:762:8: warning: 'nod_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
762 | BFS(nod_max,d);
| ~~~^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 11ms | 950kb | OK | 10 |
6 | 44ms | 3006kb | OK | 10 |
7 | 68ms | 4128kb | OK | 10 |
8 | 115ms | 6254kb | OK | 10 |
9 | 83ms | 6668kb | OK | 10 |
10 | 158ms | 7962kb | OK | 10 |
Punctaj total | 100 |