0_0_24676859_3748.cpp: In function 'void dfs1(int, int, int)': 0_0_24676859_3748.cpp:19:5: error: 'flag' was not declared in this scope flag[x][y]=1; ^