Borderou de evaluare (job #2797944)
Raport evaluator
Compilare:
main.cpp: In member function 'bool UndirectedGraph::havelHakimi(std::vector<int>)':
main.cpp:239:23: 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]
239 | if(degrees[0] > degrees.size() - loops)
main.cpp: In member function 'std::stack<int> DirectedGraph::topologicalSorting()':
main.cpp:364:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
364 | for(int node = 1; node < visited.size(); ++node)
| ~~~~~^~~~~~~~~~~~~~~~
main.cpp: In function 'void HAVEL_HAKIMI()':
main.cpp:528:12: warning: unused variable 'm' [-Wunused-variable]
528 | int n, m, x, y;
| ^
main.cpp:528:15: warning: unused variable 'x' [-Wunused-variable]
528 | int n, m, x, y;
| ^
main.cpp:528:18: warning: unused variable 'y' [-Wunused-variable]
528 | int n, m, x, y;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Corect | 10 |
2 | 1ms | 184kb | Corect | 10 |
3 | 1ms | 184kb | Corect | 10 |
4 | 1ms | 184kb | Corect | 10 |
5 | 1ms | 184kb | Corect | 10 |
6 | 9ms | 946kb | Corect | 10 |
7 | 9ms | 1486kb | Corect | 10 |
8 | 403ms | 24276kb | Time limit exceeded | 0 |
9 | 221ms | 10129kb | Corect | 10 |
10 | 291ms | 13963kb | Corect | 10 |
Punctaj total | 90 |