/in/foo.cc: In function 'void dfs1(int, int)':
/in/foo.cc:23:30: error: expected ')' before '!' token
if(map[y+i][x-chang]!
^
/in/foo.cc:10:19: warning: unused variable 'k' [-Wunused-variable]
int chang=1,i,k;
^
/in/foo.cc: In function 'void dfs2(int, int)':
/in/foo.cc:40:30: error: expected ')' before '!' token
if(map[y-chang][x-i]!
^
/in/foo.cc:46:32: error: expected ')' before '!' token
if(map[y+i+1][x-chang]!
^
/in/foo.cc:36:19: warning: unused variable 'k' [-Wunused-variable]
int chang=1,i,k;
^