Pagini recente » Borderou de evaluare (job #454433) | Borderou de evaluare (job #1193802) | Cod sursa (job #250452) | Borderou de evaluare (job #1045542) | Borderou de evaluare (job #2797906)
Borderou de evaluare (job #2797906)
Raport evaluator
Compilare:
main.cpp: In member function 'bool UndirectedGraph::havelHakimi(std::vector<int>)':
main.cpp:248: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]
248 | if(degrees[0] > degrees.size() - loops)
main.cpp: In member function 'std::stack<int> DirectedGraph::topologicalSorting()':
main.cpp:373:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
373 | for(int node = 1; node < visited.size(); ++node)
| ~~~~~^~~~~~~~~~~~~~~~
main.cpp: In function 'void HAVEL_HAKIMI()':
main.cpp:534:12: warning: unused variable 'm' [-Wunused-variable]
534 | int n, m, x, y;
| ^
main.cpp:534:15: warning: unused variable 'x' [-Wunused-variable]
534 | int n, m, x, y;
| ^
main.cpp:534:18: warning: unused variable 'y' [-Wunused-variable]
534 | int n, m, x, y;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | OK | 10 |
2 | 1ms | 184kb | OK | 10 |
3 | 1ms | 184kb | OK | 10 |
4 | 3ms | 438kb | OK | 10 |
5 | 15ms | 569kb | OK | 10 |
6 | 54ms | 2830kb | OK | 10 |
7 | 280ms | 7086kb | OK | 10 |
8 | 163ms | 7335kb | OK | 10 |
9 | 957ms | 29937kb | OK | 10 |
10 | 807ms | 29814kb | OK | 10 |
Punctaj total | 100 |