Borderou de evaluare (job #2799070)
Utilizator | Data | 12 noiembrie 2021 12:01:38 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void Graf::ComponenteConexe(bool*)':
main.cpp:112:18: error: 'n' was not declared in this scope
112 | bool vizitat[n+1] = {false};
| ^
main.cpp: In function 'void Dfs()':
main.cpp:135:24: error: 'vizitat' was not declared in this scope
135 | G.ComponenteConexe(vizitat);
| ^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !