Borderou de evaluare (job #2886259)

Utilizator bogdan.svai2004@gmail.comSvaicovschi Bogdan-Gabriel [email protected] Data 7 aprilie 2022 15:05:46
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_transpus(int)': main.cpp:32:5: error: 'viz' was not declared in this scope 32 | viz[x] = 1; | ^~~ main.cpp:37:13: error: 'dfs_t' was not declared in this scope; did you mean 'dfs'? 37 | dfs_t(y); | ^~~~~ | dfs main.cpp: In function 'int main()': main.cpp:57:14: error: 'viz' was not declared in this scope 57 | if (!viz[i]) | ^~~ main.cpp:62:26: error: 'viz' was not declared in this scope 62 | for(int i=0;i<=n;i++) viz[i]=false; | ^~~ main.cpp:65:14: error: 'viz' was not declared in this scope 65 | if (!viz[s[i]]) | ^~~ Non zero exit status: 1

Ceva nu functioneaza?