0_0_14532015_3582.cpp:35:11: error: redefinition of 'const int maxn'
const int maxn = 55;
^
0_0_14532015_3582.cpp:7:11: note: 'const int maxn' previously defined here
const int maxn = 55;
^
0_0_14532015_3582.cpp:36:11: error: redefinition of 'const int inf'
const int inf = 99999;
^
0_0_14532015_3582.cpp:8:11: note: 'const int inf' previously defined here
const int inf = 99999;
^
0_0_14532015_3582.cpp:37:31: error: redefinition of 'int mat [55][55][55]'
int mat[ maxn ][ maxn ][ maxn ],t[ maxn ][ maxn ][ maxn ];
^
0_0_14532015_3582.cpp:9:5: note: 'int mat [55][55][55]' previously declared here
int mat[ maxn ][ maxn ][ maxn ],t[ maxn ][ maxn ][ maxn ];
^
0_0_14532015_3582.cpp:37:57: error: redefinition of 'int t [55][55][55]'
int mat[ maxn ][ maxn ][ maxn ],t[ maxn ][ maxn ][ maxn ];
^
0_0_14532015_3582.cpp:9:33: note: 'int t [55][55][55]' previously declared here
int mat[ maxn ][ maxn ][ maxn ],t[ maxn ][ maxn ][ maxn ];
^
0_0_14532015_3582.cpp:38:15: error: redefinition of 'const int dx [6]'
const int dx[6]={0,-1,0,1,0,0};
^
0_0_14532015_3582.cpp:10:11: note: 'const int dx [6]' previously defined here
const int dx[6]={0,-1,0,1,0,0};
^
0_0_14532015_3582.cpp:39:15: error: redefinition of 'const int dy [6]'
const int dy[6]={-1,0,1,0,0,0};
^
0_0_14532015_3582.cpp:11:11: note: 'const int dy [6]' previously defined here
const int dy[6]={-1,0,1,0,0,0};
^
0_0_14532015_3582.cpp:40:15: error: redefinition of 'const int dz [6]'
const int dz[6]={0,0,0,0,1,-1};
^
0_0_14532015_3582.cpp:12:11: note: 'const int dz [6]' previously defined here
const int dz[6]={0,0,0,0,1,-1};
^
0_0_14532015_3582.cpp:42:8: error: redefinition of 'struct node'
struct node
^
0_0_14532015_3582.cpp:14:8: error: previous definition of 'struct node'
struct node
^
0_0_14532015_3582.cpp:45:3: error: invalid type in declaration before ',' token
}p,pp;
^
0_0_14532015_3582.cpp:45:3: error: conflicting declaration 'int p'
0_0_14532015_3582.cpp:17:2: note: previous declaration as 'node p'
}p,pp;
^
0_0_14532015_3582.cpp:45:4: error: conflicting declaration 'int pp'
}p,pp;
^
0_0_14532015_3582.cpp:17:4: note: previous declaration as 'node pp'
}p,pp;
^
0_0_14532015_3582.cpp: In function 'void init(int, int, int)':
0_0_14532015_3582.cpp:47:6: error: redefinition of 'void init(int, int, int)'
void init( int a,int b,int c ){
^
0_0_14532015_3582.cpp:19:6: note: 'void init(int, int, int)' previously defined here
void init( int a,int b,int c ){
^
0_0_14532015_3582.cpp: In function 'int main()':
0_0_14532015_3582.cpp:111:5: error: redefinition of 'int main()'
int main(){
^
0_0_14532015_3582.cpp:89:5: note: 'int main()' previously defined here
int main(){
^
|