Borderou de evaluare (job #2810710)
Raport evaluator
Compilare:
main.cpp:124: warning: ignoring '#pragma region Utilitary_Functions' [-Wunknown-pragmas]
124 | #pragma region Utilitary_Functions
|
main.cpp:639: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas]
639 | #pragma endregion
|
main.cpp:654: warning: ignoring '#pragma region Public_Methods_Calls' [-Wunknown-pragmas]
654 | #pragma region Public_Methods_Calls
|
main.cpp:788: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas]
788 | #pragma endregion
|
main.cpp: In constructor 'Graph::Graph(int, int, bool, bool, bool)':
main.cpp:56:9: warning: 'Graph::nrEdges' will be initialized after [-Wreorder]
56 | int nrEdges;
| ^~~~~~~
main.cpp:51:10: warning: 'bool Graph::isDirected' [-Wreorder]
51 | bool isDirected;
| ^~~~~~~~~~
main.cpp:63:5: warning: when initialized here [-Wreorder]
63 | 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:398:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
398 | 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:509: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]
509 | if (degrees[0] > degrees.size() - 1)
main.cpp: In member function 'void Graph::Dijkstra(int, std::vector<int>&)':
main.cpp:578:20: warning: second operand of conditional expression has no effect [-Wunused-value]
578 | d == INF ? d : 0;
| ^
main.cpp:578:25: warning: third operand of conditional expression has no effect [-Wunused-value]
578 | d == INF ? d : 0;
| ^
main.cpp: In function 'int main()':
main.cpp:645:16: warning: unused variable 'edges' [-Wunused-variable]
645 | int nodes, edges, start, operations;
| ^~~~~
main.cpp:645:23: warning: unused variable 'start' [-Wunused-variable]
645 | int nodes, edges, start, operations;
| ^~~~~
main.cpp:645:30: warning: unused variable 'operations' [-Wunused-variable]
645 | int nodes, edges, start, operations;
| ^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 11ms | 1458kb | OK | 10 |
6 | 63ms | 4796kb | OK | 10 |
7 | 96ms | 6725kb | OK | 10 |
8 | 153ms | 10137kb | OK | 10 |
9 | 97ms | 12058kb | OK | 10 |
10 | 201ms | 13168kb | Time limit exceeded | 0 |
Punctaj total | 90 |