Borderou de evaluare (job #3132954)
Utilizator | Data | 24 mai 2023 15:54:35 | |
---|---|---|---|
Problema | Arbore partial de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void prim()':
main.cpp:37:14: error: cannot convert 'std::priority_queue<std::pair<int, int> >::empty' from type 'bool (std::priority_queue<std::pair<int, int> >::)() const' to type 'bool'
37 | while(!h.empty)
| ^~~~~
main.cpp:37:14: error: in argument to unary !
37 | while(!h.empty)
| ~~^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !