Pagini recente » Borderou de evaluare (job #3033255) | Borderou de evaluare (job #2362873) | Borderou de evaluare (job #2339417) | Borderou de evaluare (job #2656031) | Borderou de evaluare (job #2819743)
Borderou de evaluare (job #2819743)
Raport evaluator
Compilare:
main.cpp: In member function 'void Clasa_Graf::dfs(int, std::unordered_map<int, bool>&)':
main.cpp:71:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | 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:87:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | 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:116:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
116 | 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:129:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
129 | 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:140:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
140 | 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:178:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
178 | for (int i=0; i<lista_adiacenta[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Clasa_Graf::HH(std::vector<int>)':
main.cpp:206:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
206 | if (grade.size() < nodactual)
| ~~~~~~~~~~~~~^~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::DFS_darb(int, int*, int&, int&)':
main.cpp:245:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
245 | for(int i = 0; i < lista_adiacenta[curr].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::infoarena_ctc()':
main.cpp:407:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
407 | for(int j = 0; j <componente[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::leetcode_muchiecritica()':
main.cpp:454:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
454 | for(int i=0; i<ans.size(); i++)
| ~^~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::infoarena_bellman_ford()':
main.cpp:540:16: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
540 | viz[nod]++;
| ~~~~~~~^
main.cpp:557:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
557 | if(ok==1)
| ^
main.cpp: In member function 'void Clasa_Graf::infoarena_apm()':
main.cpp:626: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]
626 | for(int i=0; i<sol_m.size(); i++)
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 188kb | Fisier de iesire corupt! | 0 | 0 |
2 | 2ms | 184kb | Raspuns corect! | 10 | 10 |
3 | 6ms | 462kb | Raspuns corect! | 10 | 10 |
4 | 44ms | 2002kb | Raspuns corect! | 10 | 10 |
5 | 111ms | 4300kb | Raspuns corect! | 10 | 10 |
6 | 398ms | 13225kb | Raspuns corect! | 10 | 10 |
7 | 111ms | 5656kb | Raspuns corect! | 10 | 20 |
8 | 532ms | 18030kb | Raspuns corect! | 10 |
9 | 483ms | 19279kb | Raspuns corect! | 10 | 20 |
10 | 650ms | 22487kb | Raspuns corect! | 10 |
Punctaj total | 90 |