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_21236274_14548.cpp: In function 'int lson(int)':
0_0_21236274_14548.cpp:147:12: error: redefinition of 'int lson(int)'
 inline int lson(int x)
            ^
0_0_21236274_14548.cpp:6:12: note: 'int lson(int)' previously defined here
 inline int lson(int x)
            ^
0_0_21236274_14548.cpp: In function 'int rson(int)':
0_0_21236274_14548.cpp:152:12: error: redefinition of 'int rson(int)'
 inline int rson(int x)
            ^
0_0_21236274_14548.cpp:11:12: note: 'int rson(int)' previously defined here
 inline int rson(int x)
            ^
0_0_21236274_14548.cpp: At global scope:
0_0_21236274_14548.cpp:157:11: error: redefinition of 'const int SIZE'
 int const SIZE=100005;
           ^
0_0_21236274_14548.cpp:16:11: note: 'const int SIZE' previously defined here
 int const SIZE=100005;
           ^
0_0_21236274_14548.cpp:158:11: error: redefinition of 'int A [100005]'
 int A[SIZE];  //原数组,只用于读入
           ^
0_0_21236274_14548.cpp:17:5: note: 'int A [100005]' previously declared here
 int A[SIZE];  //原数组,只用于读入
     ^
0_0_21236274_14548.cpp:159:15: error: redefinition of 'int ST [400020]'
 int ST[SIZE<<2];  //线段树数组
               ^
0_0_21236274_14548.cpp:18:5: note: 'int ST [400020]' previously declared here
 int ST[SIZE<<2];  //线段树数组
     ^
0_0_21236274_14548.cpp:160:18: error: redefinition of 'int Delay [400020]'
 int Delay[SIZE<<2];  //延迟数组
                  ^
0_0_21236274_14548.cpp:19:5: note: 'int Delay [400020]' previously declared here
 int Delay[SIZE<<2];  //延迟数组
     ^
0_0_21236274_14548.cpp: In function 'void _pushUp(int)':
0_0_21236274_14548.cpp:162:13: error: redefinition of 'void _pushUp(int)'
 inline void _pushUp(int t)  //子节点推父节点
             ^
0_0_21236274_14548.cpp:21:13: note: 'void _pushUp(int)' previously defined here
 inline void _pushUp(int t)  //子节点推父节点
             ^
0_0_21236274_14548.cpp: In function 'void _pushDown(int, int, int)':
0_0_21236274_14548.cpp:167:13: error: redefinition of 'void _pushDown(int, int, int)'
 inline void _pushDown(int t,int s,int e)
             ^
0_0_21236274_14548.cpp:26:13: note: 'void _pushDown(int, int, int)' previously defined here
 inline void _pushDown(int t,int s,int e)
             ^
0_0_21236274_14548.cpp: In function 'void build(int, int, int)':
0_0_21236274_14548.cpp:182:6: error: redefinition of 'void build(int, int, int)'
 void build(int t,int s,int e)
      ^
0_0_21236274_14548.cpp:41:6: note: 'void build(int, int, int)' previously defined here
 void build(int t,int s,int e)
      ^
0_0_21236274_14548.cpp: In function 'int query(int, int, int, int, int)':
0_0_21236274_14548.cpp:197:5: error: redefinition of 'int query(int, int, int, int, int)'
 int query(int t,int s,int e,int a,int b) //s和e代表节点t代表的区间,a和b才是查询参数
     ^
0_0_21236274_14548.cpp:56:5: note: 'int query(int, int, int, int, int)' previously defined here
 int query(int t,int s,int e,int a,int b) //s和e代表节点t代表的区间,a和b才是查询参数
     ^
0_0_21236274_14548.cpp: In function 'void modify_d(int, int, int, int, int)':
0_0_21236274_14548.cpp:210:6: error: redefinition of 'void modify_d(int, int, int, int, int)'
 void modify_d(int t,int s,int e,int idx,int delta)//idx是需要修改的点,delta是增量
      ^
0_0_21236274_14548.cpp:69:6: note: 'void modify_d(int, int, int, int, int)' previously defined here
 void modify_d(int t,int s,int e,int idx,int delta)//idx是需要修改的点,delta是增量
      ^
0_0_21236274_14548.cpp: In function 'void modify_q(int, int, int, int, int, int)':
0_0_21236274_14548.cpp:228:6: error: redefinition of 'void modify_q(int, int, int, int, int, int)'
 void modify_q(int t,int s,int e,int a,int b,int delta)
      ^
0_0_21236274_14548.cpp:87:6: note: 'void modify_q(int, int, int, int, int, int)' previously defined here
 void modify_q(int t,int s,int e,int a,int b,int delta)
      ^
0_0_21236274_14548.cpp: In function 'int main()':
0_0_21236274_14548.cpp:246:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_21236274_14548.cpp:105: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-02 02:52:40, Gzip enabled