Borderou de evaluare (job #2928787)

Utilizator AntoniaPopoviciAntonia-Adelina Popovici AntoniaPopovici Data 23 octombrie 2022 21:13:02
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:24:5: error: 'vect' was not declared in this scope 24 | vect[k] = true; | ^~~~ main.cpp: In function 'void dfs_tr(int)': main.cpp:33:5: error: 'vect' was not declared in this scope 33 | vect[k] = 1; | ^~~~ main.cpp: In function 'int main()': main.cpp:51:5: error: 'vect' was not declared in this scope 51 | vect = vector<bool>(n + 1, false); | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?