Pagini recente » Borderou de evaluare (job #3243897) | Borderou de evaluare (job #49903) | Borderou de evaluare (job #1209740) | Borderou de evaluare (job #1942137) | Borderou de evaluare (job #2821379)
Borderou de evaluare (job #2821379)
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:409:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
409 | for(int j = 0; j <componente[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::leetcode_muchiecritica()':
main.cpp:456:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
456 | for(int i=0; i<ans.size(); i++)
| ~^~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::infoarena_bellman_ford()':
main.cpp:542:16: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
542 | viz[nod]++;
| ~~~~~~~^
main.cpp:559:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
559 | if(ok==1)
| ^
main.cpp: In member function 'void Clasa_Graf::infoarena_apm()':
main.cpp:628: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]
628 | for(int i=0; i<sol_m.size(); i++)
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 5 |
2 | 2ms | 184kb | OK | 5 |
3 | 2ms | 184kb | OK | 5 |
4 | 11ms | 409kb | OK | 5 |
5 | 2ms | 184kb | OK | 5 |
6 | 2ms | 184kb | OK | 5 |
7 | 2ms | 184kb | OK | 5 |
8 | 2ms | 184kb | OK | 5 |
9 | 2ms | 184kb | OK | 5 |
10 | 2ms | 184kb | OK | 5 |
11 | 40ms | 1728kb | OK | 5 |
12 | 35ms | 2392kb | OK | 5 |
13 | 54ms | 3485kb | OK | 5 |
14 | 73ms | 5070kb | OK | 5 |
15 | 92ms | 5517kb | OK | 5 |
16 | 115ms | 6356kb | OK | 5 |
17 | 145ms | 15249kb | OK | 5 |
18 | 49ms | 7475kb | OK | 5 |
19 | 53ms | 7634kb | OK | 5 |
20 | 149ms | 9732kb | OK | 5 |
Punctaj total | 100 |