Borderou de evaluare (job #2928405)

Utilizator Andreeamiruna27Mindrescu Andreea Andreeamiruna27 Data 22 octombrie 2022 21:11:06
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 dfs(int)': main.cpp:15:9: warning: unused variable 'j' [-Wunused-variable] 15 | int j; | ^ main.cpp: In function 'void dfs_transpus(int)': main.cpp:33:13: error: 'nrcomponente' was not declared in this scope 33 | solutie[nrcomponente].push_back(a); | ^~~~~~~~~~~~ main.cpp:39:13: error: 'dfs_t' was not declared in this scope; did you mean 'dfs'? 39 | dfs_t(lista_adiacenta_transpusa[a][j]); | ^~~~~ | dfs main.cpp:32:9: warning: unused variable 'j' [-Wunused-variable] 32 | int j; | ^ main.cpp: In function 'int main()': main.cpp:76:13: error: 'nrcomponente' was not declared in this scope 76 | nrcomponente++; | ^~~~~~~~~~~~ main.cpp:77:13: error: 'dfs_transpust' was not declared in this scope; did you mean 'dfs_transpus'? 77 | dfs_transpust(nod); | ^~~~~~~~~~~~~ | dfs_transpus main.cpp:80:8: error: 'nrcomponente' was not declared in this scope 80 | g<<nrcomponente<<endl; | ^~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?