Borderou de evaluare (job #2799045)

Utilizator 134_tufa_liliana_ionelaTufa Liliana Ionela 134_tufa_liliana_ionela Data 12 noiembrie 2021 11:36:14
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::codDFS(int)': main.cpp:88:5: error: 'vizitat' was not declared in this scope 88 | vizitat[nod]=true; | ^~~~~~~ main.cpp:91:13: error: 'DFS' was not declared in this scope 91 | DFS(i); | ^~~ main.cpp: In member function 'void Graf::ComponenteConexe()': main.cpp:98:12: error: 'vizitat' was not declared in this scope 98 | if(vizitat[i]==false) | ^~~~~~~ main.cpp: In function 'void Dfs()': main.cpp:128:10: warning: unused variable 'vizitat' [-Wunused-variable] 128 | bool vizitat[n+1] = {false}; | ^~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?