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_37678520_7573.cpp:213:11: error: redefinition of 'const int N'
 const int N = 100005;
           ^
0_0_37678520_7573.cpp:9:11: note: 'const int N' previously defined here
 const int N = 100005;
           ^
0_0_37678520_7573.cpp:216:11: error: redefinition of 'int f [400020]'
 int f[N<<2];
           ^
0_0_37678520_7573.cpp:12:5: note: 'int f [400020]' previously declared here
 int f[N<<2];
     ^
0_0_37678520_7573.cpp:217:14: error: redefinition of 'int lazy [400020]'
 int lazy[N<<2];
              ^
0_0_37678520_7573.cpp:13:5: note: 'int lazy [400020]' previously declared here
 int lazy[N<<2];
     ^
0_0_37678520_7573.cpp: In function 'void build(int, int, int)':
0_0_37678520_7573.cpp:219:6: error: redefinition of 'void build(int, int, int)'
 void build(int root, int left, int right)
      ^
0_0_37678520_7573.cpp:15:6: note: 'void build(int, int, int)' previously defined here
 void build(int root, int left, int right)
      ^
0_0_37678520_7573.cpp: In function 'void pushdown(int, int, int)':
0_0_37678520_7573.cpp:240:13: error: redefinition of 'void pushdown(int, int, int)'
 inline void pushdown(int root, int left, int right)
             ^
0_0_37678520_7573.cpp:36:13: note: 'void pushdown(int, int, int)' previously defined here
 inline void pushdown(int root, int left, int right)
             ^
0_0_37678520_7573.cpp: In function 'void update(int, int, int, int, int, int)':
0_0_37678520_7573.cpp:258:6: error: redefinition of 'void update(int, int, int, int, int, int)'
 void update(int root, int left, int right, int uleft, int uright, int val)
      ^
0_0_37678520_7573.cpp:54:6: note: 'void update(int, int, int, int, int, int)' previously defined here
 void update(int root, int left, int right, int uleft, int uright, int val)
      ^
0_0_37678520_7573.cpp: In function 'll query(int, int, int, int, int)':
0_0_37678520_7573.cpp:289:4: error: redefinition of 'll query(int, int, int, int, int)'
 ll query(int root, int left, int right, int qleft, int qright)
    ^
0_0_37678520_7573.cpp:85:4: note: 'll query(int, int, int, int, int)' previously defined here
 ll query(int root, int left, int right, int qleft, int qright)
    ^
0_0_37678520_7573.cpp: In function 'll gcd(ll, ll)':
0_0_37678520_7573.cpp:321:4: error: redefinition of 'll gcd(ll, ll)'
 ll gcd(ll a, ll b) {
    ^
0_0_37678520_7573.cpp:117:4: note: 'll gcd(ll, ll)' previously defined here
 ll gcd(ll a, ll b) {
    ^
0_0_37678520_7573.cpp: In function 'void updateSecond(int, int, int, int, int, int)':
0_0_37678520_7573.cpp:330:6: error: redefinition of 'void updateSecond(int, int, int, int, int, int)'
 void updateSecond(int root, int left, int right, int uleft, int uright, int val)
      ^
0_0_37678520_7573.cpp:126:6: note: 'void updateSecond(int, int, int, int, int, int)' previously defined here
 void updateSecond(int root, int left, int right, int uleft, int uright, int val)
      ^
0_0_37678520_7573.cpp: In function 'int main()':
0_0_37678520_7573.cpp:370:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_37678520_7573.cpp:166: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-10-05 19:36:17, Gzip enabled