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_33990221_26658.cpp: In function 'void build(int, int, int)':
0_0_33990221_26658.cpp:48:14: error: 'lson' was not declared in this scope
  build(l,mid,lson);
              ^
0_0_33990221_26658.cpp:50:21: error: 'rson' was not declared in this scope
  tr[rt]=tr[lson]+tr[rson];
                     ^
0_0_33990221_26658.cpp: In function 'void pushdown(int)':
0_0_33990221_26658.cpp:53:5: error: 'lson' was not declared in this scope
  tr[lson].Max(tr[rt].mi);
     ^
0_0_33990221_26658.cpp:54:5: error: 'rson' was not declared in this scope
  tr[rson].Max(tr[rt].mi);
     ^
0_0_33990221_26658.cpp: In function 'void update(int, int, int, int, int, int)':
0_0_33990221_26658.cpp:65:21: error: 'lson' was not declared in this scope
  update(C,L,R,l,mid,lson);
                     ^
0_0_33990221_26658.cpp:66:23: error: 'rson' was not declared in this scope
  update(C,L,R,mid+1,r,rson);
                       ^
0_0_33990221_26658.cpp: In function 'll query(int, int, int, int, int)':
0_0_33990221_26658.cpp:76:25: error: 'lson' was not declared in this scope
  ll res=query(L,R,l,mid,lson)+query(L,R,mid+1,r,rson);
                         ^
0_0_33990221_26658.cpp:76:49: error: 'rson' was not declared in this scope
  ll res=query(L,R,l,mid,lson)+query(L,R,mid+1,r,rson);
                                                 ^


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-29 17:22:56, Gzip enabled