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_30299960_18967.cpp: In function 'void pushdown(int, int, int, int)':
0_0_30299960_18967.cpp:26:9: error: 'tre' was not declared in this scope
         tre[num*2] = (mid-le+1)*lazy[num*2];
         ^
0_0_30299960_18967.cpp: In function 'void update(int, int, int, int, int, int)':
0_0_30299960_18967.cpp:62:9: error: 'tre' was not declared in this scope
         tre[num] = (ri-le+1)*val;
         ^
0_0_30299960_18967.cpp:72:5: error: 'tre' was not declared in this scope
     tre[num] = tre[num*2] + tre[num*2+1];
     ^


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-12-02 13:59:11, Gzip enabled