Borderou de evaluare (job #2816496)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::dfs_rec(int)':
main.cpp:344:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
344 | for(int i=0; i<la[x].size(); ++i)
| ~^~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::bfs_distante(int)':
main.cpp:404:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
404 | for(int i=0; i<la[x].size(); ++i)
| ~^~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::bfs(int)':
main.cpp:435:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
435 | for(int i=0; i<la[x].size(); ++i)
| ~^~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::SortareTop()':
main.cpp:462:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
462 | for(int j=0; j<la[i].size(); ++j)
| ~^~~~~~~~~~~~~
main.cpp:482:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
482 | for(int i=0; i<la[x].size(); ++i)
| ~^~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs_bcx(int, int, std::vector<int>&, std::vector<int>&, std::stack<Graf::muchie>&, int&, std::vector<std::set<int> >&, std::vector<bool>&)':
main.cpp:504:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
504 | for(int i=0; i<la[x].size(); ++i)
| ~^~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs_mc(int, int, std::vector<int>&, std::vector<int>&, int&, std::vector<std::vector<int> >&, std::vector<bool>&)':
main.cpp:591:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
591 | for(int i=0; i<la[x].size(); ++i)
| ~^~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs_ctc(int, std::vector<int>&, std::vector<int>&, std::stack<int>&, std::set<int>&, int&, std::vector<std::set<int> >&, std::vector<bool>&)':
main.cpp:660:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
660 | for(int i=0; i<la[x].size(); ++i)
| ~^~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::Dijkstra(int)':
main.cpp:813:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
813 | for(int i=0; i<la_arce[s].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~
main.cpp:827:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
827 | for(int i=0; i<la_arce[ac.y].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::BellmanFord(int)':
main.cpp:892:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
892 | for (int j = 0; j < la_arce[u].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > Graf::RoyFloyd()':
main.cpp:935:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<arc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
935 | for(int j=0; j<la_arce[i].size(); ++j)
| ~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graf::bfs_maxflow(int, int)':
main.cpp:980:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
980 | for(int i=0; i<la[x].size(); ++i)
| ~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Incorect | 0 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 6ms | 323kb | Incorect | 0 |
5 | 11ms | 393kb | Incorect | 0 |
6 | 59ms | 2416kb | Incorect | 0 |
7 | 178ms | 5832kb | Incorect | 0 |
8 | 163ms | 8933kb | Incorect | 0 |
9 | 836ms | 15396kb | Incorect | 0 |
10 | 835ms | 15511kb | Incorect | 0 |
Punctaj total | 0 |