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_36986790_27209.cpp:143:8: error: redefinition of 'struct node'
 struct node
        ^
0_0_36986790_27209.cpp:5:8: error: previous definition of 'struct node'
 struct node
        ^
0_0_36986790_27209.cpp:147:10: error: invalid type in declaration before ';' token
 }b[10001];
          ^
0_0_36986790_27209.cpp:147:10: error: conflicting declaration 'int b [10001]'
0_0_36986790_27209.cpp:9:2: note: previous declaration as 'node b [10001]'
 }b[10001];
  ^
0_0_36986790_27209.cpp: In function 'bool cmp(int, int)':
0_0_36986790_27209.cpp:148:6: error: redefinition of 'bool cmp(int, int)'
 bool cmp(int a, int b)
      ^
0_0_36986790_27209.cpp:10:6: note: 'bool cmp(int, int)' previously defined here
 bool cmp(int a, int b)
      ^
0_0_36986790_27209.cpp: In function 'bool cmp1(node, node)':
0_0_36986790_27209.cpp:152:6: error: redefinition of 'bool cmp1(node, node)'
 bool cmp1(node a, node b)
      ^
0_0_36986790_27209.cpp:14:6: note: 'bool cmp1(node, node)' previously defined here
 bool cmp1(node a, node b)
      ^
0_0_36986790_27209.cpp: In function 'bool cmp2(node, node)':
0_0_36986790_27209.cpp:156:6: error: redefinition of 'bool cmp2(node, node)'
 bool cmp2(node a, node b)
      ^
0_0_36986790_27209.cpp:18:6: note: 'bool cmp2(node, node)' previously defined here
 bool cmp2(node a, node b)
      ^
0_0_36986790_27209.cpp: In function 'int main()':
0_0_36986790_27209.cpp:160:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_36986790_27209.cpp:22: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-29 09:19:36, Gzip enabled