0_0_25214894_4611.cpp:110:11: error: redefinition of 'const int maxn'
const int maxn=101;
^
0_0_25214894_4611.cpp:6:11: note: 'const int maxn' previously defined here
const int maxn=101;
^
0_0_25214894_4611.cpp:112:8: error: redefinition of 'struct EXIT'
struct EXIT
^
0_0_25214894_4611.cpp:8:8: error: previous definition of 'struct EXIT'
struct EXIT
^
0_0_25214894_4611.cpp:116:8: error: redefinition of 'struct node'
struct node
^
0_0_25214894_4611.cpp:12:8: error: previous definition of 'struct node'
struct node
^
0_0_25214894_4611.cpp:120:15: error: redefinition of 'EXIT exit [101]'
EXIT exit[maxn];
^
0_0_25214894_4611.cpp:16:6: note: 'EXIT exit [101]' previously declared here
EXIT exit[maxn];
^
0_0_25214894_4611.cpp:121:5: error: redefinition of 'int n'
int n,m,cnt;
^
0_0_25214894_4611.cpp:17:5: note: 'int n' previously declared here
int n,m,cnt;
^
0_0_25214894_4611.cpp:121:7: error: redefinition of 'int m'
int n,m,cnt;
^
0_0_25214894_4611.cpp:17:7: note: 'int m' previously declared here
int n,m,cnt;
^
0_0_25214894_4611.cpp:121:9: error: redefinition of 'int cnt'
int n,m,cnt;
^
0_0_25214894_4611.cpp:17:9: note: 'int cnt' previously declared here
int n,m,cnt;
^
0_0_25214894_4611.cpp:122:5: error: redefinition of 'int sx'
int sx,sy;
^
0_0_25214894_4611.cpp:18:5: note: 'int sx' previously declared here
int sx,sy;
^
0_0_25214894_4611.cpp:122:8: error: redefinition of 'int sy'
int sx,sy;
^
0_0_25214894_4611.cpp:18:8: note: 'int sy' previously declared here
int sx,sy;
^
0_0_25214894_4611.cpp:123:27: error: redefinition of 'int visit [101][101][16]'
int visit[maxn][maxn][1<<4];
^
0_0_25214894_4611.cpp:19:5: note: 'int visit [101][101][16]' previously declared here
int visit[maxn][maxn][1<<4];
^
0_0_25214894_4611.cpp:124:18: error: redefinition of 'char g [101][101]'
char g[maxn][maxn];
^
0_0_25214894_4611.cpp:20:6: note: 'char g [101][101]' previously declared here
char g[maxn][maxn];
^
0_0_25214894_4611.cpp:125:12: error: redefinition of 'int mt [4][2]'
int mt[4][2]={{0,1},{0,-1},{1,0},{-1,0}};
^
0_0_25214894_4611.cpp:21:5: note: 'int mt [4][2]' previously defined here
int mt[4][2]={{0,1},{0,-1},{1,0},{-1,0}};
^
0_0_25214894_4611.cpp: In function 'bool check(int, int)':
0_0_25214894_4611.cpp:127:6: error: redefinition of 'bool check(int, int)'
bool check(int a,int b)
^
0_0_25214894_4611.cpp:23:6: note: 'bool check(int, int)' previously defined here
bool check(int a,int b)
^
0_0_25214894_4611.cpp: In function 'int bfs()':
0_0_25214894_4611.cpp:133:5: error: redefinition of 'int bfs()'
int bfs()
^
0_0_25214894_4611.cpp:29:5: note: 'int bfs()' previously defined here
int bfs()
^
0_0_25214894_4611.cpp: In function 'int main()':
0_0_25214894_4611.cpp:180:5: error: redefinition of 'int main()'
int main()
^
0_0_25214894_4611.cpp:76:5: note: 'int main()' previously defined here
int main()
^
|