Pagini recente » Borderou de evaluare (job #2284821) | Borderou de evaluare (job #2172762) | Borderou de evaluare (job #1802634) | Borderou de evaluare (job #1698819) | Borderou de evaluare (job #2818867)
Borderou de evaluare (job #2818867)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::functie1(std::vector<int>*, std::vector<std::vector<int> >&)':
main.cpp:113:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
113 | for(int i = 0; i < connections.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::dijkstra2(int)':
main.cpp:186: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]
186 | for(int i = 1; i < lista_adiacenta2[b].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::bellman_ford2(int)':
main.cpp:222: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]
222 | for(int i = 1; i < lista_adiacenta2[b].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::bfs(int)':
main.cpp:309:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
309 | 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:362:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
362 | for(int i = 0; i < lista_adiacenta[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::parcurgere(std::vector<std::vector<int> >&)':
main.cpp:417:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
417 | 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:429:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
429 | 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, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)':
main.cpp:443:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
443 | for(int i = 0; i < lista_adiacenta1[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::havel_hakimi()':
main.cpp:477:25: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
477 | if(grade.size() < x)
| ~~~~~~~~~~~~~^~~
main.cpp: In member function 'void Graf::functie(int, int*, std::stack<int>&)':
main.cpp:543:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
543 | for(int i = 0; i < lista_adiacenta[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graf::max_flow(std::vector<std::vector<std::pair<int, int> > >, int, int, int)':
main.cpp:593: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]
593 | for(int j = 0; j < lista_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::citire_leetcode()':
main.cpp:723:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
723 | for(int i = 0; i < rezultat.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:725:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
725 | for(int j = 0; j < rezultat[i].size(); j++)
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 | 6ms | 405kb | OK | 10 |
6 | 11ms | 499kb | OK | 10 |
7 | 21ms | 1028kb | OK | 10 |
8 | 30ms | 1433kb | OK | 10 |
9 | 59ms | 2510kb | OK | 10 |
10 | 92ms | 3227kb | OK | 10 |
Punctaj total | 100 |