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_27026408_2121.cpp:80:8: error: redefinition of 'struct node'
 struct node
        ^
0_0_27026408_2121.cpp:12:8: error: previous definition of 'struct node'
 struct node
        ^
0_0_27026408_2121.cpp: In function 'double dist(node, node)':
0_0_27026408_2121.cpp:86:8: error: redefinition of 'double dist(node, node)'
 double dist(node o1, node o2)
        ^
0_0_27026408_2121.cpp:18:8: note: 'double dist(node, node)' previously defined here
 double dist(node o1, node o2)
        ^
0_0_27026408_2121.cpp: In function 'double cal(node, node)':
0_0_27026408_2121.cpp:92:8: error: redefinition of 'double cal(node, node)'
 double cal(node o1, node o2)
        ^
0_0_27026408_2121.cpp:24:8: note: 'double cal(node, node)' previously defined here
 double cal(node o1, node o2)
        ^
0_0_27026408_2121.cpp: In function 'int main()':
0_0_27026408_2121.cpp:119:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_27026408_2121.cpp:51: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-17 04:31:56, Gzip enabled