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_37652517_10540.cpp: In function 'void update(int, int, int)':
0_0_37652517_10540.cpp:158:18: error: 'u' was not declared in this scope
         pushdown(u);
                  ^
0_0_37652517_10540.cpp:160:18: error: 'l' was not declared in this scope
         if (mid>=l)
                  ^
0_0_37652517_10540.cpp:162:27: error: 'r' was not declared in this scope
             update (u*2,l,r);
                           ^
0_0_37652517_10540.cpp:164:17: error: 'r' was not declared in this scope
         if (mid<r)
                 ^
0_0_37652517_10540.cpp:166:27: error: 'l' was not declared in this scope
             update (u*2+1,l,r);
                           ^


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 19:25:01, Gzip enabled