Borderou de evaluare (job #2798229)
Utilizator | Data | 11 noiembrie 2021 00:43:20 | |
---|---|---|---|
Problema | Componente tare conexe | 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:72:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | for( int i = 1; i < adjacencyList.size(); ++i ) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static std::vector<std::vector<int> > Algorithms::getComponenteTareConexe(const std::vector<std::vector<int> >&, std::vector<bool>&)':
main.cpp:86:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | for( int x = 1; x < adjacencyList.size(); ++x )
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:91:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
91 | for( int i = 1; i < adjacencyList.size(); ++i )
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: At global scope:
main.cpp:204:1: error: expected declaration before '}' token
204 | }
| ^
main.cpp:309:6: error: redefinition of 'void solveTareConex()'
309 | void solveTareConex()
| ^~~~~~~~~~~~~~
main.cpp:284:6: note: 'void solveTareConex()' previously defined here
284 | void solveTareConex()
| ^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !