Pagini recente » Borderou de evaluare (job #1608811) | Borderou de evaluare (job #2064610) | Borderou de evaluare (job #2154435) | Borderou de evaluare (job #1762828) | Borderou de evaluare (job #2821804)
Borderou de evaluare (job #2821804)
Raport evaluator
Compilare:
main.cpp: In member function 'void Clasa_Graf::dfs(int, std::unordered_map<int, bool>&)':
main.cpp:99:20: 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::bfs(int, std::unordered_map<int, bool>&, std::__cxx11::list<int>&)':
main.cpp:115:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
115 | 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:144:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
144 | 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:157:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
157 | 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:168:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
168 | 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:206:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
206 | for (int i=0; i<lista_adiacenta[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Clasa_Graf::HH(std::vector<int>)':
main.cpp:234:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
234 | if (grade.size() < nodactual)
| ~~~~~~~~~~~~~^~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::DFS_darb(int, int*, int&, int&)':
main.cpp:273:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
273 | for(int i = 0; i < lista_adiacenta[curr].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::infoarena_ctc()':
main.cpp:438:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
438 | for(int j = 0; j <componente[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::leetcode_muchiecritica()':
main.cpp:485:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
485 | for(int i=0; i<ans.size(); i++)
| ~^~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::infoarena_bellman_ford()':
main.cpp:589:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
589 | if(ok==1)
| ^
main.cpp: In member function 'void Clasa_Paduri::infoarena_apm()':
main.cpp:656: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]
656 | for(int i=0; i<sol_m.size(); i++)
| ~^~~~~~~~~~~~~
main.cpp: In member function 'void Clasa_Graf::infoarena_ciclueuler()':
main.cpp:810: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 |
Punctaj/grupa |
1 | 2ms | 184kb | OK | 10 | 10 |
2 | 2ms | 184kb | OK | 10 | 10 |
3 | 2ms | 184kb | OK | 10 | 10 |
4 | 2ms | 184kb | OK | 10 | 10 |
5 | 6ms | 294kb | OK | 10 | 30 |
6 | 69ms | 802kb | OK | 10 |
7 | 69ms | 794kb | OK | 10 |
8 | 77ms | 1097kb | OK | 10 | 10 |
9 | 40ms | 716kb | OK | 10 | 10 |
10 | 78ms | 1327kb | OK | 10 | 10 |
Punctaj total | 100 |