0_0_17203141_24778.cpp: In function 'void dfs(int, int)':
0_0_17203141_24778.cpp:2:3: error: 'v' was not declared in this scope
v[x][y] = 1;//
^
0_0_17203141_24778.cpp:4:18: error: 'di' was not declared in this scope
int _x = x + di[i];
^
0_0_17203141_24778.cpp:5:18: error: 'dj' was not declared in this scope
int _y = y + dj[i];
^
0_0_17203141_24778.cpp: In function 'void dfs(int, int)':
0_0_17203141_24778.cpp:51:6: error: redefinition of 'void dfs(int, int)'
void dfs(int x,int y){
^
0_0_17203141_24778.cpp:1:6: note: 'void dfs(int, int)' previously defined here
void dfs(int x,int y){
^
|