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_13540760_6996.cpp: In function 'void pushup(int)':
0_0_13540760_6996.cpp:109:6: error: redefinition of 'void pushup(int)'
 void pushup(int rt){
      ^
0_0_13540760_6996.cpp:25:6: note: 'void pushup(int)' previously defined here
 void pushup(int rt){
      ^
0_0_13540760_6996.cpp: In function 'void build(int, int, int)':
0_0_13540760_6996.cpp:113:6: error: redefinition of 'void build(int, int, int)'
 void build(int l, int r, int rt){
      ^
0_0_13540760_6996.cpp:29:6: note: 'void build(int, int, int)' previously defined here
 void build(int l, int r, int rt){
      ^
0_0_13540760_6996.cpp: In function 'void update(int, int, int, int)':
0_0_13540760_6996.cpp:121:6: error: redefinition of 'void update(int, int, int, int)'
 void update(int x, int l, int r, int rt){
      ^
0_0_13540760_6996.cpp:37:6: note: 'void update(int, int, int, int)' previously defined here
 void update(int p, int l, int r, int rt){
      ^
0_0_13540760_6996.cpp: In function 'int main()':
0_0_13540760_6996.cpp:139:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_13540760_6996.cpp:59: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.001000(s) query 1, Server time : 2025-01-11 00:10:52, Gzip enabled