0_0_19982037_25993.cpp: In function 'int dfs1(int)': 0_0_19982037_25993.cpp:29:2: error: 'vis' was not declared in this scope vis[u] = 1; siz[u] = 1; ^