Borderou de evaluare (job #2810689)
Utilizator | Data | 29 noiembrie 2021 23:48:03 | |
---|---|---|---|
Problema | Diametrul unui arbore | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:146: warning: ignoring '#pragma region Utilitary_Functions' [-Wunknown-pragmas]
146 | #pragma region Utilitary_Functions
|
main.cpp:642: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas]
642 | #pragma endregion
|
main.cpp:657: warning: ignoring '#pragma region Public_Methods_Calls' [-Wunknown-pragmas]
657 | #pragma region Public_Methods_Calls
|
main.cpp:791: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas]
791 | #pragma endregion
|
main.cpp:11:22: error: 'INT_MAX' was not declared in this scope
11 | constexpr auto INF = INT_MAX;
| ^~~~~~~
main.cpp:9:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
8 | #include <set>
+++ |+#include <climits>
9 | using namespace std;
main.cpp: In constructor 'Edge::Edge(bool, bool)':
main.cpp:32:9: warning: 'Edge::cap' will be initialized after [-Wreorder]
32 | int cap;
| ^~~
main.cpp:25:10: warning: 'bool Edge::isWeighted' [-Wreorder]
25 | bool isWeighted;
| ^~~~~~~~~~
main.cpp:34:5: warning: when initialized here [-Wreorder]
34 | Edge(bool w = false, bool f = false) : src(0), dest(0), cost(0), cap(0), isWeighted(w), isFlowing(f) {}
| ^~~~
main.cpp: In constructor 'Edge::Edge(int, int, int, int)':
main.cpp:32:9: warning: 'Edge::cap' will be initialized after [-Wreorder]
32 | int cap;
| ^~~
main.cpp:25:10: warning: 'bool Edge::isWeighted' [-Wreorder]
25 | bool isWeighted;
| ^~~~~~~~~~
main.cpp:35:5: warning: when initialized here [-Wreorder]
35 | Edge(int s, int d, int c = 0, int g = 0) : src(s), dest(d), cost(c), cap(g), isWeighted(false), isFlowing(false) {}
| ^~~~
main.cpp: In constructor 'Graph::Graph(int, int, bool, bool, bool)':
main.cpp:78:9: warning: 'Graph::nrEdges' will be initialized after [-Wreorder]
78 | int nrEdges;
| ^~~~~~~
main.cpp:73:10: warning: 'bool Graph::isDirected' [-Wreorder]
73 | bool isDirected;
| ^~~~~~~~~~
main.cpp:85:5: warning: when initialized here [-Wreorder]
85 | 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> >&)':
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !