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_25034133_695.cpp:66:14: error: conflicting declaration 'int s [300]'
 int s[maxsize];
              ^
0_0_25034133_695.cpp:4:28: note: previous declaration as 'int s [301]'
 int Edge[MAXSIZE][MAXSIZE],s[MAXSIZE],used[MAXSIZE],P,N;
                            ^
0_0_25034133_695.cpp:67:5: error: redefinition of 'int P'
 int P,N;
     ^
0_0_25034133_695.cpp:4:53: note: 'int P' previously declared here
 int Edge[MAXSIZE][MAXSIZE],s[MAXSIZE],used[MAXSIZE],P,N;
                                                     ^
0_0_25034133_695.cpp:67:7: error: redefinition of 'int N'
 int P,N;
       ^
0_0_25034133_695.cpp:4:55: note: 'int N' previously declared here
 int Edge[MAXSIZE][MAXSIZE],s[MAXSIZE],used[MAXSIZE],P,N;
                                                       ^
0_0_25034133_695.cpp:68:27: error: conflicting declaration 'bool Edge [300][300]'
 bool Edge[maxsize][maxsize],used[maxsize];
                           ^
0_0_25034133_695.cpp:4:5: note: previous declaration as 'int Edge [301][301]'
 int Edge[MAXSIZE][MAXSIZE],s[MAXSIZE],used[MAXSIZE],P,N;
     ^
0_0_25034133_695.cpp:68:41: error: conflicting declaration 'bool used [300]'
 bool Edge[maxsize][maxsize],used[maxsize];
                                         ^
0_0_25034133_695.cpp:4:39: note: previous declaration as 'int used [301]'
 int Edge[MAXSIZE][MAXSIZE],s[MAXSIZE],used[MAXSIZE],P,N;
                                       ^
0_0_25034133_695.cpp: In function 'int main(int, char**)':
0_0_25034133_695.cpp:72:5: error: redefinition of 'int main(int, char**)'
 int main(int argc,char*argv[])
     ^
0_0_25034133_695.cpp:8:5: note: 'int main(int, char**)' previously defined here
 int main(int argc,char*argv[])
     ^
0_0_25034133_695.cpp: In function 'void Init()':
0_0_25034133_695.cpp:94:6: error: redefinition of 'void Init()'
 void Init()
      ^
0_0_25034133_695.cpp:30:6: note: 'void Init()' previously defined here
 void Init()
      ^
0_0_25034133_695.cpp: In function 'int Hungary()':
0_0_25034133_695.cpp:114:5: error: redefinition of 'int Hungary()'
 int Hungary()
     ^
0_0_25034133_695.cpp:52:5: note: 'int Hungary()' previously defined here
 int Hungary()
     ^


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-20 17:35:49, Gzip enabled