0_0_23156560_8567.cpp:111:18: error: redefinition of 'char map [105][105]'
char map[105][105];
^
0_0_23156560_8567.cpp:7:6: note: 'char map [105][105]' previously declared here
char map[105][105];
^
0_0_23156560_8567.cpp:113:12: error: redefinition of 'int to [4][2]'
int to[4][2] = {1,0,-1,0,0,1,0,-1};
^
0_0_23156560_8567.cpp:9:5: note: 'int to [4][2]' previously defined here
int to[4][2] = {1,0,-1,0,0,1,0,-1};
^
0_0_23156560_8567.cpp:115:5: error: redefinition of 'int n'
int n,m,cnt;
^
0_0_23156560_8567.cpp:11:5: note: 'int n' previously declared here
int n,m,cnt;
^
0_0_23156560_8567.cpp:115:7: error: redefinition of 'int m'
int n,m,cnt;
^
0_0_23156560_8567.cpp:11:7: note: 'int m' previously declared here
int n,m,cnt;
^
0_0_23156560_8567.cpp:115:9: error: redefinition of 'int cnt'
int n,m,cnt;
^
0_0_23156560_8567.cpp:11:9: note: 'int cnt' previously declared here
int n,m,cnt;
^
0_0_23156560_8567.cpp: In function 'void bfs(int, int)':
0_0_23156560_8567.cpp:118:7: error: redefinition of 'void bfs(int, int)'
void bfs(int x,int y)
^
0_0_23156560_8567.cpp:15:7: note: 'void bfs(int, int)' previously defined here
void bfs(int x,int y)
^
0_0_23156560_8567.cpp: In function 'int main()':
0_0_23156560_8567.cpp:147:5: error: redefinition of 'int main()'
int main()
^
0_0_23156560_8567.cpp:45:5: note: 'int main()' previously defined here
int main()
^
|