0_0_17201109_10322.cpp:90:7: error: redefinition of 'int n'
int t,n=7,m=8,num,dir[4][2]={-1,0,0,-1,0,1,1,0};
^
0_0_17201109_10322.cpp:5:5: note: 'int n' previously declared here
int n,m,num,cnt,a[35][35],dir[4][2]={0,-1,0,1,-1,0,1,0};
^
0_0_17201109_10322.cpp:90:11: error: redefinition of 'int m'
int t,n=7,m=8,num,dir[4][2]={-1,0,0,-1,0,1,1,0};
^
0_0_17201109_10322.cpp:5:7: note: 'int m' previously declared here
int n,m,num,cnt,a[35][35],dir[4][2]={0,-1,0,1,-1,0,1,0};
^
0_0_17201109_10322.cpp:90:15: error: redefinition of 'int num'
int t,n=7,m=8,num,dir[4][2]={-1,0,0,-1,0,1,1,0};
^
0_0_17201109_10322.cpp:5:9: note: 'int num' previously declared here
int n,m,num,cnt,a[35][35],dir[4][2]={0,-1,0,1,-1,0,1,0};
^
0_0_17201109_10322.cpp:90:27: error: redefinition of 'int dir [4][2]'
int t,n=7,m=8,num,dir[4][2]={-1,0,0,-1,0,1,1,0};
^
0_0_17201109_10322.cpp:5:27: note: 'int dir [4][2]' previously defined here
int n,m,num,cnt,a[35][35],dir[4][2]={0,-1,0,1,-1,0,1,0};
^
0_0_17201109_10322.cpp:91:12: error: conflicting declaration 'int path [15]'
int path[15],f[15];
^
0_0_17201109_10322.cpp:6:29: note: previous declaration as 'char path [625]'
char map[35][35],p[]="LRUD",path[625];
^
0_0_17201109_10322.cpp:92:16: error: conflicting declaration 'char map [15][15]'
char map[15][15],p[]="ULRD",pathc[15];
^
0_0_17201109_10322.cpp:6:6: note: previous declaration as 'char map [35][35]'
char map[35][35],p[]="LRUD",path[625];
^
0_0_17201109_10322.cpp:92:20: error: redefinition of 'char p []'
char map[15][15],p[]="ULRD",pathc[15];
^
0_0_17201109_10322.cpp:6:18: note: 'char p [5]' previously defined here
char map[35][35],p[]="LRUD",path[625];
^
0_0_17201109_10322.cpp: In function 'int ok(int, int)':
0_0_17201109_10322.cpp:93:5: error: redefinition of 'int ok(int, int)'
int ok(int x,int y)
^
0_0_17201109_10322.cpp:7:5: note: 'int ok(int, int)' previously defined here
int ok(int x,int y)
^
0_0_17201109_10322.cpp: In function 'int main()':
0_0_17201109_10322.cpp:153:5: error: redefinition of 'int main()'
int main()
^
0_0_17201109_10322.cpp:52:5: note: 'int main()' previously defined here
int main()
^
|