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_13405570_31825.cpp:84:7: error: redefinition of 'class Bone'
 class Bone {
       ^
0_0_13405570_31825.cpp:13:7: error: previous definition of 'class Bone'
 class Bone {
       ^
0_0_13405570_31825.cpp: In function 'int cmp(Bone, Bone)':
0_0_13405570_31825.cpp:91:5: error: redefinition of 'int cmp(Bone, Bone)'
 int cmp(Bone x,Bone y){
     ^
0_0_13405570_31825.cpp:20:5: note: 'int cmp(Bone, Bone)' previously defined here
 int cmp(Bone x,Bone y){
     ^
0_0_13405570_31825.cpp: At global scope:
0_0_13405570_31825.cpp:97:7: error: redefinition of 'class Program'
 class Program {
       ^
0_0_13405570_31825.cpp:26:7: error: previous definition of 'class Program'
 class Program {
       ^
0_0_13405570_31825.cpp: In function 'int main()':
0_0_13405570_31825.cpp:138:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_13405570_31825.cpp:67:5: note: 'int main()' previously defined here
 int main() {
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 04:09:35, Gzip enabled