Borderou de evaluare (job #2797423)
Utilizator | Data | 9 noiembrie 2021 21:08:28 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void Graph::topologicalSort()':
main.cpp:241:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
241 | for (int node = 1; node < visited.size(); node++) {
| ~~~~~^~~~~~~~~~~~~~~~
main.cpp:248:9: error: 'out' was not declared in this scope
248 | out << stack.top()<<' ';
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !