Borderou de evaluare (job #2963360)
Utilizator | Data | 10 ianuarie 2023 21:26:34 | |
---|---|---|---|
Problema | Dragon Ball Z | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In constructor 'Graph::Graph(int, std::vector<std::vector<std::pair<int, int> > >&)':
main.cpp:15:6: warning: 'Graph::_nodes' will be initialized after [-Wreorder]
15 | int _nodes;
| ^~~~~~
main.cpp:13:14: warning: 'std::vector<int> Graph::costs' [-Wreorder]
13 | vector<int> costs;
| ^~~~~
main.cpp:59:2: warning: when initialized here [-Wreorder]
59 | Graph(int nodes, vector<vector<pair<int, int>>>& p_repr) :
| ^~~~~
/usr/bin/ld: ./cccBp57h.o: in function `Graph::modDijkstra(int)':
main.cpp:(.text._ZN5Graph11modDijkstraEi[_ZN5Graph11modDijkstraEi]+0xc): undefined reference to `Graph::_infinity'
collect2: error: ld returned 1 exit status
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !