0_0_31977543_23990.cpp:72:19: error: redefinition of 'bool marked [25][25]'
bool marked[25][25];
^
0_0_31977543_23990.cpp:4:6: note: 'bool marked [25][25]' previously declared here
bool marked[25][25];
^
0_0_31977543_23990.cpp:73:17: error: redefinition of 'char maze [25][25]'
char maze[25][25];
^
0_0_31977543_23990.cpp:5:6: note: 'char maze [25][25]' previously declared here
char maze[25][25];
^
0_0_31977543_23990.cpp:74:9: error: redefinition of 'int dx [4]'
int dx[4] = {1, 0, -1, 0};
^
0_0_31977543_23990.cpp:6:5: note: 'int dx [4]' previously defined here
int dx[4] = {1, 0, -1, 0};
^
0_0_31977543_23990.cpp:75:9: error: redefinition of 'int dy [4]'
int dy[4] = {0, 1, 0, -1};
^
0_0_31977543_23990.cpp:7:5: note: 'int dy [4]' previously defined here
int dy[4] = {0, 1, 0, -1};
^
0_0_31977543_23990.cpp:76:8: error: redefinition of 'struct Node'
struct Node
^
0_0_31977543_23990.cpp:8:8: error: previous definition of 'struct Node'
struct Node
^
0_0_31977543_23990.cpp:81:6: error: redefinition of 'Node node'
Node node;
^
0_0_31977543_23990.cpp:13:6: note: 'Node node' previously declared here
Node node;
^
0_0_31977543_23990.cpp:84:5: error: redefinition of 'int count'
int count;
^
0_0_31977543_23990.cpp:16:5: note: 'int count' previously declared here
int count;
^
0_0_31977543_23990.cpp:85:5: error: redefinition of 'int W'
int W, H;
^
0_0_31977543_23990.cpp:17:5: note: 'int W' previously declared here
int W, H;
^
0_0_31977543_23990.cpp:85:8: error: redefinition of 'int H'
int W, H;
^
0_0_31977543_23990.cpp:17:8: note: 'int H' previously declared here
int W, H;
^
0_0_31977543_23990.cpp: In function 'int main()':
0_0_31977543_23990.cpp:86:5: error: redefinition of 'int main()'
int main()
^
0_0_31977543_23990.cpp:18:5: note: 'int main()' previously defined here
int main()
^
0_0_31977543_23990.cpp: In function 'void dfs(int, int)':
0_0_31977543_23990.cpp:114:6: error: redefinition of 'void dfs(int, int)'
void dfs(int a, int b)
^
0_0_31977543_23990.cpp:46:6: note: 'void dfs(int, int)' previously defined here
void dfs(int a, int b)
^
0_0_31977543_23990.cpp: In function 'bool border(int, int)':
0_0_31977543_23990.cpp:130:6: error: redefinition of 'bool border(int, int)'
bool border(int a, int b)
^
0_0_31977543_23990.cpp:62:6: note: 'bool border(int, int)' previously defined here
bool border(int a, int b)
^
|