Pagini recente » Borderou de evaluare (job #1125758) | Borderou de evaluare (job #575991) | Borderou de evaluare (job #552992) | Borderou de evaluare (job #1763087) | Borderou de evaluare (job #2814685)
Borderou de evaluare (job #2814685)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::functie1(std::vector<int>*, std::vector<std::vector<int> >&)':
main.cpp:114:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
114 | for(int i = 0; i < connections.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::dijkstra2(int)':
main.cpp:187:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
187 | for(int i = 1; i < lista_adiacenta2[b].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::bellman_ford2(int)':
main.cpp:223:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
223 | for(int i = 1; i < lista_adiacenta2[b].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graf::max_flow(std::vector<std::vector<std::pair<int, int> > >, int, int, int)':
main.cpp:296:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
296 | for(int j = 0; j < lista_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::citire_leetcode()':
main.cpp:426:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
426 | for(int i = 0; i < rezultat.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:428:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
428 | for(int j = 0; j < rezultat[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::bfs(int)':
main.cpp:668:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
668 | for(int i = 0; i < lista_adiacenta[nod_curent].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs(std::vector<int>&, int)':
main.cpp:691:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
691 | for(int i = 0; i < lista_adiacenta1[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::havel_hakimi()':
main.cpp:744:25: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
744 | if(grade.size() < x)
| ~~~~~~~~~~~~~^~~
main.cpp: In member function 'void Graf::functie(int, int*, std::stack<int>&)':
main.cpp:795:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
795 | for(int i = 0; i < lista_adiacenta[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::parcurgere()':
main.cpp:825:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
825 | for(int j = 0; j < componenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs1(int, std::unordered_map<int, bool>&, std::vector<int>&)':
main.cpp:837:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
837 | for(int i = 0; i < lista_adiacenta[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs2(int, std::unordered_map<int, bool>&, std::vector<int>&, int)':
main.cpp:850:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
850 | for(int i = 0; i < lista_adiacenta1[nod].size(); i++)
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 | 25ms | 1130kb | OK | 10 |
6 | 54ms | 1875kb | OK | 10 |
7 | 73ms | 2777kb | OK | 10 |
8 | 174ms | 5033kb | OK | 10 |
9 | 126ms | 3981kb | OK | 10 |
10 | 331ms | 7299kb | OK | 10 |
Punctaj total | 100 |