foo.cc: In function 'void DFS(std::vector<std::vector<int> >, int, int, int, int, int, int, int&, int)':
foo.cc:42:18: error: 'dy' was not declared in this scope
else if(dx<n&&(dy>=m||Map[dx][y]>Map[x][ry]){
^~
foo.cc:42:18: note: suggested alternative: 'dx'
else if(dx<n&&(dy>=m||Map[dx][y]>Map[x][ry]){
^~
dx
foo.cc:42:47: error: expected ')' before '{' token
else if(dx<n&&(dy>=m||Map[dx][y]>Map[x][ry]){
^
foo.cc:45:2: error: expected primary-expression before '}' token
}
^
[Hydro](https://hydro.ac)提供评测服务