Borderou de evaluare (job #2810708)

Utilizator Dantelogus99Gruia Gabriel Dantelogus99 Data 30 noiembrie 2021 00:57:15
Problema Diametrul unui arbore Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp:126: warning: ignoring '#pragma region Utilitary_Functions' [-Wunknown-pragmas] 126 | #pragma region Utilitary_Functions | main.cpp:641: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas] 641 | #pragma endregion | main.cpp:656: warning: ignoring '#pragma region Public_Methods_Calls' [-Wunknown-pragmas] 656 | #pragma region Public_Methods_Calls | main.cpp:790: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas] 790 | #pragma endregion | main.cpp: In constructor 'Graph::Graph(int, int, bool, bool, bool)': main.cpp:58:9: warning: 'Graph::nrEdges' will be initialized after [-Wreorder] 58 | int nrEdges; | ^~~~~~~ main.cpp:53:10: warning: 'bool Graph::isDirected' [-Wreorder] 53 | bool isDirected; | ^~~~~~~~~~ main.cpp:65:5: warning: when initialized here [-Wreorder] 65 | Graph(int n = 0, int m = 0, bool d = false, bool w = false, bool f = false) : nrNodes(n), nrEdges(m), isDirected(d), isWeighted(w), isFlowing(f) {} | ^~~~~ main.cpp: In member function 'void Graph::TarjanDFS(int, std::vector<int>&, std::vector<int>&, std::stack<int>&, std::vector<bool>&, std::__cxx11::list<std::set<int> >&)': main.cpp:400:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 400 | if (discOrder[edge.dest]) // if the adjacent node had been processed and is part of the current traversal path | ^ main.cpp: In member function 'void Graph::HavelHakimi(std::vector<int>&, bool&)': main.cpp:511:24: 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] 511 | if (degrees[0] > degrees.size() - 1) main.cpp: In member function 'void Graph::Dijkstra(int, std::vector<int>&)': main.cpp:580:20: warning: second operand of conditional expression has no effect [-Wunused-value] 580 | d == INF ? d : 0; | ^ main.cpp:580:25: warning: third operand of conditional expression has no effect [-Wunused-value] 580 | d == INF ? d : 0; | ^ main.cpp: In function 'int main()': main.cpp:647:16: warning: unused variable 'edges' [-Wunused-variable] 647 | int nodes, edges, start, operations; | ^~~~~ main.cpp:647:23: warning: unused variable 'start' [-Wunused-variable] 647 | int nodes, edges, start, operations; | ^~~~~ main.cpp:647:30: warning: unused variable 'operations' [-Wunused-variable] 647 | int nodes, edges, start, operations; | ^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
511ms1376kbOK10
663ms4796kbOK10
796ms6725kbOK10
8153ms10137kbOK10
997ms12025kbOK10
10201ms13168kbTime limit exceeded0
Punctaj total90

Ceva nu functioneaza?