Borderou de evaluare (job #3217088)
Utilizator | Data | 20 martie 2024 23:27:00 | |
---|---|---|---|
Problema | Flux maxim de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'bool Dijkstra::EdgePointerComparator::operator()(int, int)':
main.cpp:122:20: error: 'dist' was not declared in this scope
122 | return dist[a] > dist[b];
| ^~~~
main.cpp: In function 'std::pair<std::vector<int>, Edge**> Dijkstra::dijkstra_bef(const Graph&, int, std::vector<int>&)':
main.cpp:138:9: error: expected ',' or ';' before 'std'
138 | std::priority_queue<int, std::vector<int>, decltype(lamb_comp)> pq;
| ^~~
main.cpp:143:9: error: 'pq' was not declared in this scope
143 | pq.push(source);
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !