0_0_33154863_30144.cpp:70:14: error: redefinition of 'int dt [10][10]'
int dt[10][10];
^
0_0_33154863_30144.cpp:3:5: note: 'int dt [10][10]' previously declared here
int dt[10][10];
^
0_0_33154863_30144.cpp:71:12: error: redefinition of 'int ds [4][2]'
int ds[4][2]={{1,0},{-1,0},{0,1},{0,-1}};
^
0_0_33154863_30144.cpp:4:5: note: 'int ds [4][2]' previously defined here
int ds[4][2]={{1,0},{-1,0},{0,1},{0,-1}};
^
0_0_33154863_30144.cpp:72:15: error: redefinition of 'int cnt [10][10]'
int cnt[10][10];
^
0_0_33154863_30144.cpp:5:5: note: 'int cnt [10][10]' previously declared here
int cnt[10][10];
^
0_0_33154863_30144.cpp:73:5: error: redefinition of 'int s1'
int s1,s2,e1,e2;
^
0_0_33154863_30144.cpp:6:5: note: 'int s1' previously declared here
int s1,s2,e1,e2;
^
0_0_33154863_30144.cpp:73:8: error: redefinition of 'int s2'
int s1,s2,e1,e2;
^
0_0_33154863_30144.cpp:6:8: note: 'int s2' previously declared here
int s1,s2,e1,e2;
^
0_0_33154863_30144.cpp:73:11: error: redefinition of 'int e1'
int s1,s2,e1,e2;
^
0_0_33154863_30144.cpp:6:11: note: 'int e1' previously declared here
int s1,s2,e1,e2;
^
0_0_33154863_30144.cpp:73:14: error: redefinition of 'int e2'
int s1,s2,e1,e2;
^
0_0_33154863_30144.cpp:6:14: note: 'int e2' previously declared here
int s1,s2,e1,e2;
^
0_0_33154863_30144.cpp:74:5: error: redefinition of 'int t'
int t,m;
^
0_0_33154863_30144.cpp:7:5: note: 'int t' previously declared here
int t,m;
^
0_0_33154863_30144.cpp:74:7: error: redefinition of 'int m'
int t,m;
^
0_0_33154863_30144.cpp:7:7: note: 'int m' previously declared here
int t,m;
^
0_0_33154863_30144.cpp:75:8: error: redefinition of 'struct nd'
struct nd{
^
0_0_33154863_30144.cpp:8:8: error: previous definition of 'struct nd'
struct nd{
^
0_0_33154863_30144.cpp: In function 'int bfs()':
0_0_33154863_30144.cpp:84:5: error: redefinition of 'int bfs()'
int bfs()
^
0_0_33154863_30144.cpp:17:5: note: 'int bfs()' previously defined here
int bfs()
^
0_0_33154863_30144.cpp: In function 'int main()':
0_0_33154863_30144.cpp:110:5: error: redefinition of 'int main()'
int main()
^
0_0_33154863_30144.cpp:43:5: note: 'int main()' previously defined here
int main()
^
|