F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_20561722_271.cpp:85:14: error: redefinition of 'int fang [4][2]'
 int fang[4][2]={-1,0,0,-1,0,1,1,0};
              ^
0_0_20561722_271.cpp:8:5: note: 'int fang [4][2]' previously defined here
 int fang[4][2]={-1,0,0,-1,0,1,1,0};
     ^
0_0_20561722_271.cpp:86:5: error: redefinition of 'int n'
 int n,m,flag,k,start_x,start_y,end_x,end_y;
     ^
0_0_20561722_271.cpp:9:5: note: 'int n' previously declared here
 int n,m,flag,k,start_x,start_y,end_x,end_y;
     ^
0_0_20561722_271.cpp:86:7: error: redefinition of 'int m'
 int n,m,flag,k,start_x,start_y,end_x,end_y;
       ^
0_0_20561722_271.cpp:9:7: note: 'int m' previously declared here
 int n,m,flag,k,start_x,start_y,end_x,end_y;
       ^
0_0_20561722_271.cpp:86:9: error: redefinition of 'int flag'
 int n,m,flag,k,start_x,start_y,end_x,end_y;
         ^
0_0_20561722_271.cpp:9:9: note: 'int flag' previously declared here
 int n,m,flag,k,start_x,start_y,end_x,end_y;
         ^
0_0_20561722_271.cpp:86:14: error: redefinition of 'int k'
 int n,m,flag,k,start_x,start_y,end_x,end_y;
              ^
0_0_20561722_271.cpp:9:14: note: 'int k' previously declared here
 int n,m,flag,k,start_x,start_y,end_x,end_y;
              ^
0_0_20561722_271.cpp:86:16: error: redefinition of 'int start_x'
 int n,m,flag,k,start_x,start_y,end_x,end_y;
                ^
0_0_20561722_271.cpp:9:16: note: 'int start_x' previously declared here
 int n,m,flag,k,start_x,start_y,end_x,end_y;
                ^
0_0_20561722_271.cpp:86:24: error: redefinition of 'int start_y'
 int n,m,flag,k,start_x,start_y,end_x,end_y;
                        ^
0_0_20561722_271.cpp:9:24: note: 'int start_y' previously declared here
 int n,m,flag,k,start_x,start_y,end_x,end_y;
                        ^
0_0_20561722_271.cpp:86:32: error: redefinition of 'int end_x'
 int n,m,flag,k,start_x,start_y,end_x,end_y;
                                ^
0_0_20561722_271.cpp:9:32: note: 'int end_x' previously declared here
 int n,m,flag,k,start_x,start_y,end_x,end_y;
                                ^
0_0_20561722_271.cpp:86:38: error: redefinition of 'int end_y'
 int n,m,flag,k,start_x,start_y,end_x,end_y;
                                      ^
0_0_20561722_271.cpp:9:38: note: 'int end_y' previously declared here
 int n,m,flag,k,start_x,start_y,end_x,end_y;
                                      ^
0_0_20561722_271.cpp:87:27: error: redefinition of 'bool book [110][110][110]'
 bool book[MAXN][MAXN][MAXN];
                           ^
0_0_20561722_271.cpp:10:6: note: 'bool book [110][110][110]' previously declared here
 bool book[MAXN][MAXN][MAXN];
      ^
0_0_20561722_271.cpp:88:18: error: redefinition of 'char e [110][110]'
 char e[MAXN][MAXN];
                  ^
0_0_20561722_271.cpp:11:6: note: 'char e [110][110]' previously declared here
 char e[MAXN][MAXN];
      ^
0_0_20561722_271.cpp:89:8: error: redefinition of 'struct node'
 struct node
        ^
0_0_20561722_271.cpp:12:8: error: previous definition of 'struct node'
 struct node
        ^
0_0_20561722_271.cpp: In function 'void bfs()':
0_0_20561722_271.cpp:93:6: error: redefinition of 'void bfs()'
 void bfs()
      ^
0_0_20561722_271.cpp:16:6: note: 'void bfs()' previously defined here
 void bfs()
      ^
0_0_20561722_271.cpp: In function 'int main()':
0_0_20561722_271.cpp:135:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_20561722_271.cpp:60:5: note: 'int main()' previously defined here
 int main()
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 00:20:59, Gzip enabled