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_18180508_3258.cpp:70:11: error: redefinition of 'const int inf'
 const int inf=0x3f3f3f3f;
           ^
0_0_18180508_3258.cpp:16:11: note: 'const int inf' previously defined here
 const int inf=0x3f3f3f3f;
           ^
0_0_18180508_3258.cpp:71:11: error: redefinition of 'const ll INF'
 const ll  INF=0x3f3f3f3f3f3f3f3full;
           ^
0_0_18180508_3258.cpp:17:11: note: 'const ll INF' previously defined here
 const ll  INF=0x3f3f3f3f3f3f3f3full;
           ^
0_0_18180508_3258.cpp:72:8: error: redefinition of 'struct node'
 struct node
        ^
0_0_18180508_3258.cpp:18:8: error: previous definition of 'struct node'
 struct node
        ^
0_0_18180508_3258.cpp:88:10: error: invalid type in declaration before ';' token
 }ans[105];
          ^
0_0_18180508_3258.cpp:88:10: error: conflicting declaration 'int ans [105]'
0_0_18180508_3258.cpp:34:2: note: previous declaration as 'node ans [105]'
 }ans[105];
  ^
0_0_18180508_3258.cpp: In function 'int main()':
0_0_18180508_3258.cpp:89:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_18180508_3258.cpp:35: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-25 04:43:39, Gzip enabled