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_6655783_1539.cpp:135: error: redefinition of `struct Edge'
0_0_6655783_1539.cpp:32: error: previous definition of `struct Edge'
0_0_6655783_1539.cpp:137: error: invalid type in declaration before ';' token
0_0_6655783_1539.cpp:137: error: conflicting declaration 'int e[4000010]'
0_0_6655783_1539.cpp:34: error: 'e' has a previous declaration as `Edge e[4000010]'
0_0_6655783_1539.cpp:137: error: type mismatch with previous external decl of `int e[4000010]'
0_0_6655783_1539.cpp:34: error: previous external decl of `Edge e[4000010]'
0_0_6655783_1539.cpp:137: error: declaration of `int e[4000010]'
0_0_6655783_1539.cpp:34: error: conflicts with previous declaration `Edge e[4000010]'
0_0_6655783_1539.cpp:138: error: redefinition of `int tot'
0_0_6655783_1539.cpp:35: error: `int tot' previously declared here
0_0_6655783_1539.cpp:140: error: redefinition of `int fa[2010]'
0_0_6655783_1539.cpp:37: error: `int fa[2010]' previously declared here
0_0_6655783_1539.cpp: In function `void add_edge(int, int, int)':
0_0_6655783_1539.cpp:143: error: redefinition of `void add_edge(int, int, int)'
0_0_6655783_1539.cpp:40: error: `void add_edge(int, int, int)' previously defined here
0_0_6655783_1539.cpp: In function `bool cmp1(Edge, Edge)':
0_0_6655783_1539.cpp:150: error: redefinition of `bool cmp1(Edge, Edge)'
0_0_6655783_1539.cpp:47: error: `bool cmp1(Edge, Edge)' previously defined here
0_0_6655783_1539.cpp: In function `bool cmp2(Edge, Edge)':
0_0_6655783_1539.cpp:155: error: redefinition of `bool cmp2(Edge, Edge)'
0_0_6655783_1539.cpp:52: error: `bool cmp2(Edge, Edge)' previously defined here
0_0_6655783_1539.cpp: In function `int find_set(int)':
0_0_6655783_1539.cpp:160: error: redefinition of `int find_set(int)'
0_0_6655783_1539.cpp:57: error: `int find_set(int)' previously defined here
0_0_6655783_1539.cpp: In function `int deal(int)':
0_0_6655783_1539.cpp:166: error: redefinition of `int deal(int)'
0_0_6655783_1539.cpp:63: error: `int deal(int)' previously defined here
0_0_6655783_1539.cpp: In function `int main()':
0_0_6655783_1539.cpp:186: error: redefinition of `int main()'
0_0_6655783_1539.cpp:83: error: `int main()' previously defined here


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-07-09 02:09:18, Gzip enabled