0_0_36251755_30265.cpp: In function 'bool check(int, int)':
0_0_36251755_30265.cpp:18:16: error: 'n' was not declared in this scope
if(x<0||x>=n||y<0||y>=m||Map[x][y]=='X'||dis[x][y])
^
0_0_36251755_30265.cpp:18:27: error: 'm' was not declared in this scope
if(x<0||x>=n||y<0||y>=m||Map[x][y]=='X'||dis[x][y])
^
|