0_0_24574884_12113.cpp:11:24: error: conflicting declaration 'int dx'
int N, M, T, S_x, S_y, dx, dy, D_x, D_y,wall_count;
^
0_0_24574884_12113.cpp:9:5: note: previous declaration as 'int dx [4]'
int dx[]={-1,0,1,0};
^
0_0_24574884_12113.cpp:11:28: error: conflicting declaration 'int dy'
int N, M, T, S_x, S_y, dx, dy, D_x, D_y,wall_count;
^
0_0_24574884_12113.cpp:10:5: note: previous declaration as 'int dy [4]'
int dy[]={0,-1,0,1};
^
0_0_24574884_12113.cpp: In function 'bool DFS(int, int, int)':
0_0_24574884_12113.cpp:26:14: error: invalid conversion from 'int*' to 'int' [-fpermissive]
if(DFS(x+dx,y+dy,t+1)){
^
0_0_24574884_12113.cpp:13:6: note: initializing argument 1 of 'bool DFS(int, int, int)'
bool DFS(int x, int y,int t)
^
0_0_24574884_12113.cpp:26:19: error: invalid conversion from 'int*' to 'int' [-fpermissive]
if(DFS(x+dx,y+dy,t+1)){
^
0_0_24574884_12113.cpp:13:6: note: initializing argument 2 of 'bool DFS(int, int, int)'
bool DFS(int x, int y,int t)
^
|