Borderou de evaluare (job #2806732)

Utilizator ChelaruPaulChelaru Paul ChelaruPaul Data 22 noiembrie 2021 22:29:48
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In member function 'void Graph::topologicalSort()': main.cpp:300:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 300 | for (int node = 1; node < visited.size(); node++) { | ~~~~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'bool Graph::havelHakimi(std::vector<int>)': main.cpp:326: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] 326 | if(degrees[0] > degrees.size() - 1) {
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
525ms1241kbOK10
649ms1957kbOK10
764ms2867kbOK10
8136ms5406kbIncorect0
988ms4935kbIncorect0
10298ms7376kbOK10
Punctaj total80

Ceva nu functioneaza?