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_36680283_11872.cpp:125:1: error: 'AC2' does not name a type
 AC2
 ^
0_0_36680283_11872.cpp:135:11: error: conflicting declaration 'long long int a [107]'
 ll a[100+7],Tsum[(100+7)<<2];
           ^
0_0_36680283_11872.cpp:24:4: note: previous declaration as 'll a [123]'
 ll a[123] , ans , sum[123];
    ^
0_0_36680283_11872.cpp:136:8: error: redefinition of 'struct node'
 struct node
        ^
0_0_36680283_11872.cpp:25:8: error: previous definition of 'struct node'
 struct node
        ^
0_0_36680283_11872.cpp:139:10: error: invalid type in declaration before ';' token
 }Max[123];
          ^
0_0_36680283_11872.cpp:139:10: error: conflicting declaration 'int Max [123]'
0_0_36680283_11872.cpp:28:2: note: previous declaration as 'node Max [123]'
 }Max[123];
  ^
0_0_36680283_11872.cpp: In function 'bool cmp(node, node)':
0_0_36680283_11872.cpp:140:6: error: redefinition of 'bool cmp(node, node)'
 bool cmp(node x , node y)
      ^
0_0_36680283_11872.cpp:29:6: note: 'bool cmp(node, node)' previously defined here
 bool cmp(node x , node y)
      ^
0_0_36680283_11872.cpp: In function 'int main()':
0_0_36680283_11872.cpp:179:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_36680283_11872.cpp:35: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.000000(s) query 1, Server time : 2025-01-10 03:57:25, Gzip enabled