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_17186275_27350.cpp:124:16: error: conflicting declaration 'int cnt [60020]'
 int cnt[Maxn<<2];
                ^
0_0_17186275_27350.cpp:15:5: note: previous declaration as 'int cnt [1000]'
 int cnt[Maxn<<2];
     ^
0_0_17186275_27350.cpp:136:8: error: redefinition of 'struct Seg'
 struct Seg
        ^
0_0_17186275_27350.cpp:17:8: error: previous definition of 'struct Seg'
 struct Seg
        ^
0_0_17186275_27350.cpp:149:13: error: conflicting declaration 'Seg seg [15005]'
 Seg seg[Maxn];
             ^
0_0_17186275_27350.cpp:33:5: note: previous declaration as 'Seg seg [250]'
 Seg seg[Maxn];
     ^
0_0_17186275_27350.cpp: In function 'void pushUp(int, int, int)':
0_0_17186275_27350.cpp:151:6: error: redefinition of 'void pushUp(int, int, int)'
 void pushUp(int l,int r,int x)
      ^
0_0_17186275_27350.cpp:46:6: note: 'void pushUp(int, int, int)' previously defined here
 void pushUp(int l,int r,int x)
      ^
0_0_17186275_27350.cpp: In function 'void update(int, int, int, int, int, int)':
0_0_17186275_27350.cpp:172:6: error: redefinition of 'void update(int, int, int, int, int, int)'
 void update(int L,int R,int d,int l,int r,int x)
      ^
0_0_17186275_27350.cpp:52:6: note: 'void update(int, int, int, int, int, int)' previously defined here
 void update(int L,int R,int d,int l,int r,int x)
      ^
0_0_17186275_27350.cpp: In function 'void init()':
0_0_17186275_27350.cpp:184:6: error: redefinition of 'void init()'
 void init()
      ^
0_0_17186275_27350.cpp:64:6: note: 'void init()' previously defined here
 void init()
      ^
0_0_17186275_27350.cpp: In function 'int main()':
0_0_17186275_27350.cpp:192:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17186275_27350.cpp:69: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 11:45:16, Gzip enabled