Borderou de evaluare (job #2796566)
Utilizator | Data | 8 noiembrie 2021 14:29:54 | |
---|---|---|---|
Problema | Componente biconexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In static member function 'static std::vector<std::vector<int> > Algorithms::getComponenteBiconexe(const std::vector<std::vector<int> >&, std::vector<int>&, std::vector<int>&, std::vector<bool>&)':
main.cpp:68:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for( int i = 1; i < adjacencyList.size(); ++i ) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static void Algorithms::componenteBiconexeHelper(const std::vector<std::vector<int> >&, int, int, int, std::vector<int>&, std::vector<int>&, std::vector<bool>&, std::stack<int>&, std::vector<std::vector<int> >&)':
main.cpp:116:21: error: 'reverse' was not declared in this scope
116 | reverse( componenteBiconexe.back().begin(), componenteBiconexe.back().end() );
| ^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !