Borderou de evaluare (job #2045815)

Utilizator vladm98Munteanu Vlad vladm98 Data 22 octombrie 2017 21:26:19
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void dfs1(int)’: user.cpp:11:2: error: ‘viz’ was not declared in this scope viz[node] = 1; ^ user.cpp: In function ‘void dfs2(int, int)’: user.cpp:21:2: error: ‘viz’ was not declared in this scope viz[node] = 0; ^ user.cpp: In function ‘int main(int, const char**)’: user.cpp:40:7: error: ‘viz’ was not declared in this scope if (viz[i] == 0) ^ user.cpp:45:7: error: ‘viz’ was not declared in this scope if (viz[x]) ^

Ceva nu functioneaza?