Borderou de evaluare (job #2425559)
Utilizator | Data | 24 mai 2019 21:33:36 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dijkstra(int, int)':
main.cpp:20:15: error: cannot convert 'std::priority_queue<_Tp, _Sequence, _Compare>::empty<std::pair<int, int>, std::vector<std::pair<int, int> >, std::greater<std::pair<int, int> > >' from type 'bool (std::priority_queue<std::pair<int, int>, std::vector<std::pair<int, int> >, std::greater<std::pair<int, int> > >::)() const' to type 'bool'
while (!Q.empty) {
^~~~~
main.cpp:20:15: error: in argument to unary !
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !