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_23241686_2388.cpp:95:11: error: redefinition of 'const int MAX'
 const int MAX=5000+10;
           ^
0_0_23241686_2388.cpp:13:11: note: 'const int MAX' previously defined here
 const int MAX=5000+10;  
           ^
0_0_23241686_2388.cpp:96:15: error: redefinition of 'std::string Map [5010]'
 string Map[MAX];
               ^
0_0_23241686_2388.cpp:14:8: note: 'std::string Map [5010]' previously declared here
 string Map[MAX];  
        ^
0_0_23241686_2388.cpp:97:5: error: redefinition of 'int n'
 int n,m,v,size,s[MAX][2];//s???p??¦Ë??
     ^
0_0_23241686_2388.cpp:15:5: note: 'int n' previously declared here
 int n,m,v,size,s[MAX][2];//s???p??¦Ë??
     ^
0_0_23241686_2388.cpp:97:7: error: redefinition of 'int m'
 int n,m,v,size,s[MAX][2];//s???p??¦Ë??
       ^
0_0_23241686_2388.cpp:15:7: note: 'int m' previously declared here
 int n,m,v,size,s[MAX][2];//s???p??¦Ë??
       ^
0_0_23241686_2388.cpp:97:9: error: redefinition of 'int v'
 int n,m,v,size,s[MAX][2];//s???p??¦Ë??
         ^
0_0_23241686_2388.cpp:15:9: note: 'int v' previously declared here
 int n,m,v,size,s[MAX][2];//s???p??¦Ë??
         ^
0_0_23241686_2388.cpp:97:11: error: redefinition of 'int size'
 int n,m,v,size,s[MAX][2];//s???p??¦Ë??
           ^
0_0_23241686_2388.cpp:15:11: note: 'int size' previously declared here
 int n,m,v,size,s[MAX][2];//s???p??¦Ë??
           ^
0_0_23241686_2388.cpp:97:24: error: redefinition of 'int s [5010][2]'
 int n,m,v,size,s[MAX][2];//s???p??¦Ë??
                        ^
0_0_23241686_2388.cpp:15:16: note: 'int s [5010][2]' previously declared here
 int n,m,v,size,s[MAX][2];//s???p??¦Ë??
                ^
0_0_23241686_2388.cpp:99:13: error: redefinition of 'int dir [4][2]'
 int dir[4][2]={0,1,0,-1,1,0,-1,0};
             ^
0_0_23241686_2388.cpp:17:5: note: 'int dir [4][2]' previously defined here
 int dir[4][2]={0,1,0,-1,1,0,-1,0};  
     ^
0_0_23241686_2388.cpp:100:14: error: redefinition of 'bool mark [5010]'
 bool mark[MAX];
              ^
0_0_23241686_2388.cpp:18:6: note: 'bool mark [5010]' previously declared here
 bool mark[MAX];  
      ^
0_0_23241686_2388.cpp:102:8: error: redefinition of 'struct Node'
 struct Node{
        ^
0_0_23241686_2388.cpp:20:8: error: previous definition of 'struct Node'
 struct Node{  
        ^
0_0_23241686_2388.cpp:106:7: error: invalid type in declaration before ';' token
 }start;
       ^
0_0_23241686_2388.cpp:106:7: error: conflicting declaration 'int start'
0_0_23241686_2388.cpp:24:2: note: previous declaration as 'Node start'
 }start;  
  ^
0_0_23241686_2388.cpp: In function 'void CalculateP()':
0_0_23241686_2388.cpp:108:7: error: redefinition of 'void CalculateP()'
 void  CalculateP(){
       ^
0_0_23241686_2388.cpp:26:7: note: 'void CalculateP()' previously defined here
 void  CalculateP(){  
       ^
0_0_23241686_2388.cpp: In function 'int BFS()':
0_0_23241686_2388.cpp:123:5: error: redefinition of 'int BFS()'
 int BFS(){
     ^
0_0_23241686_2388.cpp:41:5: note: 'int BFS()' previously defined here
 int BFS(){  
     ^
0_0_23241686_2388.cpp: In function 'int main()':
0_0_23241686_2388.cpp:154:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_23241686_2388.cpp:72: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-25 15:42:43, Gzip enabled