Borderou de evaluare (job #2793794)
Utilizator | Data | 4 noiembrie 2021 01:05:59 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:125:2: error: expected ';' after class definition
125 | }
| ^
| ;
main.cpp: In member function 'void Graf::dfs(int, std::vector<int>&)':
main.cpp:75:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for (int i = 0; i < lista[x].size() && ok == false; i++) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp:84:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
84 | else if (i == lista[x].size() - 1) { st.pop(); }
| ~~^~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !