0_0_27172249_28227.cpp: In function 'void dfs(int, int, int, int)':
0_0_27172249_28227.cpp:7:10: error: 'n' was not declared in this scope
if(col==n)
^
0_0_27172249_28227.cpp:12:12: error: 'n' was not declared in this scope
if(col+1<=n)
^
0_0_27172249_28227.cpp:17:12: error: 'n' was not declared in this scope
if(col+2<=n)
^
0_0_27172249_28227.cpp: In function 'int main()':
0_0_27172249_28227.cpp:23:22: error: 'm' was not declared in this scope
while(scanf("%d%d",&m,&n),m+n!=0)
^
0_0_27172249_28227.cpp:23:25: error: 'n' was not declared in this scope
while(scanf("%d%d",&m,&n),m+n!=0)
^
|