Borderou de evaluare (job #2808687)
Utilizator | Data | 25 noiembrie 2021 14:02:59 | |
---|---|---|---|
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 'int Graf::nodCostMin(std::vector<int>&, std::vector<bool>&)':
main.cpp:62:12: error: 'inMst' was not declared in this scope
62 | if(inMst[i] == false && helper[i] < minimum)
| ^~~~~
main.cpp: In member function 'void Graf::APM()':
main.cpp:92:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
92 | for(int j = 0; j < costs[nextVertex].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !