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_22985190_13232.cpp: In function 'int main()':
0_0_22985190_13232.cpp:93:10: error: 'hdu4995' was not declared in this scope
         }hdu4995
          ^
0_0_22985190_13232.cpp: At global scope:
0_0_22985190_13232.cpp:104:8: error: redefinition of 'struct node'
 struct node
        ^
0_0_22985190_13232.cpp:6:8: error: previous definition of 'struct node'
 struct node
        ^
0_0_22985190_13232.cpp:108:6: error: invalid type in declaration before ';' token
 }a[N];
      ^
0_0_22985190_13232.cpp:108:6: error: conflicting declaration 'int a [100005]'
0_0_22985190_13232.cpp:10:3: note: previous declaration as 'node a [100005]'
 } a[N],b[N];
   ^
0_0_22985190_13232.cpp: In function 'bool cmp(node, node)':
0_0_22985190_13232.cpp:109:6: error: redefinition of 'bool cmp(node, node)'
 bool cmp(node a,node b)
      ^
0_0_22985190_13232.cpp:12:6: note: 'bool cmp(node, node)' previously defined here
 bool cmp(node a,node b)
      ^
0_0_22985190_13232.cpp: In function 'int main()':
0_0_22985190_13232.cpp:114:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_22985190_13232.cpp:16: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-02-17 07:12:39, Gzip enabled