Pagini recente » Borderou de evaluare (job #3015025) | Borderou de evaluare (job #687368) | Borderou de evaluare (job #3030960) | Borderou de evaluare (job #3015134) | Borderou de evaluare (job #2821626)
Borderou de evaluare (job #2821626)
Raport evaluator
Compilare:
main.cpp: In member function 'bool Graph::hakimi(std::vector<int>)':
main.cpp:76:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | for(int i = 0; i < v.size(); i++){
| ~~^~~~~~~~~~
main.cpp:78:17: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
78 | if(v[i] >= v.size()) return false;
main.cpp: In member function 'virtual void Undirected_graph::DFS(int, std::vector<int>&)':
main.cpp:148:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
148 | for(int i = 0; i < this->m_adjancency_list[node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Undirected_graph::DFSBiconnected(int, int, int, std::vector<int>&, std::vector<int>&, std::vector<std::unordered_set<int> >&, std::stack<std::pair<int, int> >&)':
main.cpp:251:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
251 | for(int i = 0; i < this->m_adjancency_list[current_node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Undirected_graph::DFSCriticals(int, int&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&)':
main.cpp:324:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
324 | for(int i = 0; i < m_adjancency_list[current_node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Unoriented_bipartite_graph::DFS(int, std::vector<int>&, std::vector<int>&, std::vector<int>&)':
main.cpp:477:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
477 | for(int i = 0; i < m_adjancency_list[node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:498:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
498 | for(int i = 0; i < m_adjancency_list[node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'virtual std::vector<int> Directed_graph::BFS(int)':
main.cpp:631:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
631 | for(int i=0; i < this->m_adjancency_list[curent].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Directed_graph::tarjan(int, std::stack<int>&, std::vector<int>&, std::vector<int>&, int&, std::vector<int>&, std::vector<std::vector<int> >&)':
main.cpp:726:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
726 | for(int i=0; i<this->m_adjancency_list[node].size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Directed_graph::DFS_topological_sort(int, std::stack<int>&, std::vector<int>&)':
main.cpp:808:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
808 | for(int i = 0; i < this->m_adjancency_list[node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::pair<int, int> > Unoriented_graph_with_costs::prim(int&)':
main.cpp:929:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
929 | for(int j = 0; j < this->m_adjancency_list[root].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Unoriented_graph_with_costs::introduce_in_APM(int, std::vector<int>&, std::vector<int>&)':
main.cpp:947:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
947 | for(int i = 0; i < this->m_adjancency_list[node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Unoriented_graph_with_costs::push(int, std::vector<int>&, std::vector<int>&, std::vector<int>&)':
main.cpp:1028:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1028 | while((index * 2 <= heap.size() - 1 && distances[ heap[index] ] > distances[ heap[index * 2] ]) ||
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:1029:26: 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 | 184kb | OK | 5 |
| 2 | 2ms | 184kb | OK | 5 |
| 3 | 2ms | 184kb | OK | 5 |
| 4 | 11ms | 626kb | OK | 5 |
| 5 | 2ms | 184kb | OK | 5 |
| 6 | 11ms | 3018kb | OK | 5 |
| 7 | 15ms | 5947kb | OK | 5 |
| 8 | 25ms | 8028kb | OK | 5 |
| 9 | 30ms | 10305kb | OK | 5 |
| 10 | 34ms | 12611kb | OK | 5 |
| 11 | 204ms | 113573kb | Time limit exceeded | 0 |
| 12 | 201ms | 112832kb | Time limit exceeded | 0 |
| 13 | 201ms | 113274kb | Time limit exceeded | 0 |
| 14 | 200ms | 112287kb | Time limit exceeded | 0 |
| 15 | 201ms | 112156kb | Time limit exceeded | 0 |
| 16 | 200ms | 112570kb | Time limit exceeded | 0 |
| 17 | 200ms | 111599kb | Time limit exceeded | 0 |
| 18 | 201ms | 111730kb | Time limit exceeded | 0 |
| 19 | 200ms | 112480kb | Time limit exceeded | 0 |
| 20 | 201ms | 111923kb | Time limit exceeded | 0 |
| Punctaj total | 50 |