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_19772757_4878.cpp: In function 'int main()':
0_0_19772757_4878.cpp:92:10: error: 'hdu4995' was not declared in this scope
         }hdu4995
          ^
0_0_19772757_4878.cpp: At global scope:
0_0_19772757_4878.cpp:103:8: error: redefinition of 'struct node'
 struct node
        ^
0_0_19772757_4878.cpp:5:8: error: previous definition of 'struct node'
 struct node
        ^
0_0_19772757_4878.cpp:107:6: error: invalid type in declaration before ';' token
 }a[N];
      ^
0_0_19772757_4878.cpp:107:6: error: conflicting declaration 'int a [100005]'
0_0_19772757_4878.cpp:9:3: note: previous declaration as 'node a [100005]'
 } a[N],b[N];
   ^
0_0_19772757_4878.cpp: In function 'bool cmp(node, node)':
0_0_19772757_4878.cpp:108:6: error: redefinition of 'bool cmp(node, node)'
 bool cmp(node a,node b)
      ^
0_0_19772757_4878.cpp:11:6: note: 'bool cmp(node, node)' previously defined here
 bool cmp(node a,node b)
      ^
0_0_19772757_4878.cpp: In function 'int main()':
0_0_19772757_4878.cpp:113:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_19772757_4878.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-11-26 12:10:07, Gzip enabled