Pagini recente » Borderou de evaluare (job #1485571) | Borderou de evaluare (job #2210106) | Borderou de evaluare (job #2896966) | Borderou de evaluare (job #2088888) | Borderou de evaluare (job #2821791)
Borderou de evaluare (job #2821791)
Raport evaluator
Compilare:
main.cpp: In member function 'void Clasa_Graf::dfs(int, std::unordered_map<int, bool>&)':
main.cpp:83:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for (int i=0; i<lista_adiacenta[x].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::bfs(int, std::unordered_map<int, bool>&, std::__cxx11::list<int>&)':
main.cpp:99:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
99 | for (int i=0; i<lista_adiacenta[x].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::DFS1(int, std::unordered_map<int, bool>&, std::vector<int>&)':
main.cpp:128:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
128 | for (int i=0; i <lista_adiacenta[x].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::DFS2(int, int, std::unordered_map<int, bool>&, std::vector<int>*, std::vector<int>*)':
main.cpp:141:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
141 | for (int i = 0; i < lista_adiacenta2[x].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::biconex(int, int, std::unordered_map<int, int>&, int*, std::stack<std::pair<int, int> >&, std::vector<std::set<int> >&)':
main.cpp:152:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
152 | for (int i=0; i<lista_adiacenta[start].size(); i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::dfs_muchie_critica(int, int, int, int*, int*, std::vector<std::vector<int> >&)':
main.cpp:190:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
190 | for (int i=0; i<lista_adiacenta[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Clasa_Graf::HH(std::vector<int>)':
main.cpp:218:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
218 | if (grade.size() < nodactual)
| ~~~~~~~~~~~~~^~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::DFS_darb(int, int*, int&, int&)':
main.cpp:257:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
257 | for(int i = 0; i < lista_adiacenta[curr].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::infoarena_ctc()':
main.cpp:422:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
422 | for(int j = 0; j <componente[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::leetcode_muchiecritica()':
main.cpp:469:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
469 | for(int i=0; i<ans.size(); i++)
| ~^~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::infoarena_bellman_ford()':
main.cpp:573:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
573 | if(ok==1)
| ^
main.cpp: In member function 'void Clasa_Paduri::infoarena_apm()':
main.cpp:642:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
642 | for(int i=0; i<sol_m.size(); i++)
| ~^~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::infoarena_ciclueuler()':
main.cpp:796:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 188kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 2ms | 184kb | OK | 10 |
6 | 11ms | 667kb | OK | 10 |
7 | 20ms | 770kb | OK | 10 |
8 | 30ms | 942kb | OK | 10 |
9 | 40ms | 1413kb | OK | 10 |
10 | 59ms | 1339kb | Killed by Signal 11 | 0 |
Punctaj total | 90 |