Borderou de evaluare (job #2796574)
Utilizator | Data | 8 noiembrie 2021 14:55:17 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void afisare2(std::vector<std::__cxx11::list<int> >&)':
main.cpp:23:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i = 1; i<L.size();i++)
| ~^~~~~~~~~
main.cpp: At global scope:
main.cpp:46:1: error: ISO C++ forbids declaration of 'afisare_componente' with no type [-fpermissive]
46 | afisare_componente(const vector<list<int>>C, const char *filename)
| ^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int afisare_componente(std::vector<std::__cxx11::list<int> >, const char*)':
main.cpp:57:1: warning: no return statement in function returning non-void [-Wreturn-type]
57 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !