0_0_30088012_24586.cpp: In function 'void dfs(int, int, int)': 0_0_30088012_24586.cpp:16:9: error: 'flag' was not declared in this scope if(!flag) ^