0_0_19748101_22109.cpp: In function 'void dfs(int, int, int)':
0_0_19748101_22109.cpp:31:16: error: 'n' was not declared in this scope
if(xx>=0&&xx<n&&yy>=0&&yy<m&&!vis[xx][yy]&&map[xx][yy]!='X')
^
0_0_19748101_22109.cpp:31:29: error: 'm' was not declared in this scope
if(xx>=0&&xx<n&&yy>=0&&yy<m&&!vis[xx][yy]&&map[xx][yy]!='X')
^
0_0_19748101_22109.cpp:31:33: error: 'vis' was not declared in this scope
if(xx>=0&&xx<n&&yy>=0&&yy<m&&!vis[xx][yy]&&map[xx][yy]!='X')
^
0_0_19748101_22109.cpp:31:46: error: 'map' was not declared in this scope
if(xx>=0&&xx<n&&yy>=0&&yy<m&&!vis[xx][yy]&&map[xx][yy]!='X')
^
|