0_0_23175663_8972.cpp:87:2: error: stray '#' in program
}#include<string.h>
^
0_0_23175663_8972.cpp:87:3: error: 'include' does not name a type
}#include<string.h>
^
0_0_23175663_8972.cpp:91:17: error: redefinition of 'int vis [101][101]'
int vis[101][101];
^
0_0_23175663_8972.cpp:5:5: note: 'int vis [101][101]' previously declared here
int vis[101][101];
^
0_0_23175663_8972.cpp:92:18: error: redefinition of 'char cnt [101][101]'
char cnt[101][101];
^
0_0_23175663_8972.cpp:6:6: note: 'char cnt [101][101]' previously declared here
char cnt[101][101];
^
0_0_23175663_8972.cpp:93:5: error: redefinition of 'int t'
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:7:5: note: 'int t' previously declared here
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:93:7: error: redefinition of 'int m'
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:7:7: note: 'int m' previously declared here
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:93:9: error: redefinition of 'int n'
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:7:9: note: 'int n' previously declared here
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:93:11: error: redefinition of 'int k'
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:7:11: note: 'int k' previously declared here
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:93:13: error: redefinition of 'int x1'
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:7:13: note: 'int x1' previously declared here
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:93:16: error: redefinition of 'int y1'
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:7:16: note: 'int y1' previously declared here
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:93:19: error: redefinition of 'int y2'
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:7:19: note: 'int y2' previously declared here
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:93:22: error: redefinition of 'int x2'
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:7:22: note: 'int x2' previously declared here
int t,m,n,k,x1,y1,y2,x2;
^
0_0_23175663_8972.cpp:94:13: error: redefinition of 'int dic [4][2]'
int dic[4][2]= {{0,1},{1,0},{0,-1},{-1,0}};
^
0_0_23175663_8972.cpp:8:5: note: 'int dic [4][2]' previously defined here
int dic[4][2]= {{0,1},{1,0},{0,-1},{-1,0}};
^
0_0_23175663_8972.cpp:96:8: error: redefinition of 'struct A'
struct A
^
0_0_23175663_8972.cpp:10:8: error: previous definition of 'struct A'
struct A
^
0_0_23175663_8972.cpp: In function 'void bfs(int, int)':
0_0_23175663_8972.cpp:103:7: error: redefinition of 'void bfs(int, int)'
void bfs(int x,int y)
^
0_0_23175663_8972.cpp:17:7: note: 'void bfs(int, int)' previously defined here
void bfs(int x,int y)
^
0_0_23175663_8972.cpp: In function 'int main()':
0_0_23175663_8972.cpp:154:5: error: redefinition of 'int main()'
int main()
^
0_0_23175663_8972.cpp:68:5: note: 'int main()' previously defined here
int main()
^
|