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_38574402_3480.cpp: In function 'int main()':
0_0_38574402_3480.cpp:92:10: error: 'hdu4995' was not declared in this scope
         }hdu4995
          ^~~~~~~
0_0_38574402_3480.cpp: At global scope:
0_0_38574402_3480.cpp:103:8: error: redefinition of 'struct node'
 struct node
        ^~~~
0_0_38574402_3480.cpp:5:8: note: previous definition of 'struct node'
 struct node
        ^~~~
0_0_38574402_3480.cpp:107:5: error: conflicting declaration 'int a [100005]'
 }a[N];
     ^
0_0_38574402_3480.cpp:9:3: note: previous declaration as 'node a [100005]'
 } a[N],b[N];
   ^
0_0_38574402_3480.cpp:108:6: error: redefinition of 'bool cmp(node, node)'
 bool cmp(node a,node b)
      ^~~
0_0_38574402_3480.cpp:11:6: note: 'bool cmp(node, node)' previously defined here
 bool cmp(node a,node b)
      ^~~
0_0_38574402_3480.cpp:113:5: error: redefinition of 'int main()'
 int main()
     ^~~~
0_0_38574402_3480.cpp:15: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-09-27 22:34:51, Gzip enabled