Borderou de evaluare (job #2789337)

Utilizator Dantelogus99Gruia Gabriel Dantelogus99 Data 27 octombrie 2021 13:54: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: In member function 'int Graf::componenteConexe()': main.cpp:61:16: error: 'listaCC' was not declared in this scope 61 | return listaCC; | ^~~~~~~ main.cpp: In member function 'void Graf::DFS(int, std::map<int, bool>&)': main.cpp:68:9: error: 'componentaConexa' was not declared in this scope; did you mean 'componenteConexe'? 68 | componentaConexa.insert(nodS); | ^~~~~~~~~~~~~~~~ | componenteConexe main.cpp: In function 'int main()': main.cpp:78:15: warning: unused variable 's' [-Wunused-variable] 78 | int n, m, s; | ^ Non zero exit status: 1

Ceva nu functioneaza?