Borderou de evaluare (job #2802251)
Utilizator | Data | 17 noiembrie 2021 20:46:29 | |
---|---|---|---|
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 member function 'void Graf::afisareApm()':
main.cpp:63:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | for(int i = 0; i < sol.size(); i ++){
| ~~^~~~~~~~~~~~
main.cpp: In member function 'int Graf::Apm(std::vector<std::pair<int, int> >&)':
main.cpp:75:5: error: 'sort' was not declared in this scope; did you mean 'qsort'?
75 | sort(muchiiCost.begin(), muchiiCost.end());
| ^~~~
| qsort
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !