/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:17:12: error: 'drix' was not declared in this scope
int xx=x+drix[k],yy=y+driy[k];
^~~~
/in/foo.cc:17:12: note: suggested alternative: 'dirx'
int xx=x+drix[k],yy=y+driy[k];
^~~~
dirx
/in/foo.cc:19:19: error: 'yy' was not declared in this scope
if(xx>0&&xx<=n&&yy>0&&yy<=m &&oil[xx][yy]==true)
^~
/in/foo.cc:19:19: note: suggested alternative: 'y'
if(xx>0&&xx<=n&&yy>0&&yy<=m &&oil[xx][yy]==true)
^~
y
/in/foo.cc: In function 'int main()':
/in/foo.cc:25:8: error: expected ';' before '{' token
memset{oil,false,sizeof(oil)};
^
/in/foo.cc:25:31: warning: statement is a reference, not call, to function 'memset' [-Waddress]
memset{oil,false,sizeof(oil)};
^
/in/foo.cc:25:31: warning: statement has no effect [-Wunused-value]
/in/foo.cc:32:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
scanf("%d",c);
^