Pagini recente » Borderou de evaluare (job #3158515) | Borderou de evaluare (job #1288095) | Borderou de evaluare (job #3289626) | Borderou de evaluare (job #3251827) | Borderou de evaluare (job #2821394)
Borderou de evaluare (job #2821394)
Raport evaluator
Compilare:
main.cpp: In member function 'void Clasa_Graf::dfs(int, std::unordered_map<int, bool>&)':
main.cpp:72:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | 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:88:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | 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:117:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
117 | 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:130:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
130 | 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:141:20: 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_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:179:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
179 | for (int i=0; i<lista_adiacenta[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Clasa_Graf::HH(std::vector<int>)':
main.cpp:207:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
207 | if (grade.size() < nodactual)
| ~~~~~~~~~~~~~^~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::DFS_darb(int, int*, int&, int&)':
main.cpp:246:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
246 | for(int i = 0; i < lista_adiacenta[curr].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::infoarena_ctc()':
main.cpp:411:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
411 | for(int j = 0; j <componente[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::leetcode_muchiecritica()':
main.cpp:458:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
458 | for(int i=0; i<ans.size(); i++)
| ~^~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::infoarena_bellman_ford()':
main.cpp:544:16: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
544 | viz[nod]++;
| ~~~~~~~^
main.cpp:561:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
561 | if(ok==1)
| ^
main.cpp: In member function 'void Clasa_Graf::infoarena_apm()':
main.cpp:630: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]
630 | for(int i=0; i<sol_m.size(); i++)
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Corect | 10 |
2 | 2ms | 184kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 2ms | 184kb | Corect | 10 |
5 | 6ms | 856kb | Corect | 10 |
6 | 16ms | 1847kb | Corect | 10 |
7 | 35ms | 3051kb | Corect | 10 |
8 | 401ms | 38608kb | Time limit exceeded | 0 |
9 | 258ms | 18669kb | Corect | 10 |
10 | 354ms | 25772kb | Corect | 10 |
Punctaj total | 90 |