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_37690204_2583.cpp: In function 'void build(int, int, int)':
0_0_37690204_2583.cpp:24:11: error: 'lc' was not declared in this scope
     build(lc, l, mid);
           ^
0_0_37690204_2583.cpp: In function 'void update(int, int)':
0_0_37690204_2583.cpp:36:16: error: 'lc' was not declared in this scope
         update(lc, k);
                ^
0_0_37690204_2583.cpp:39:24: error: 'lc' was not declared in this scope
     tree[p].num = tree[lc].num + tree[rc].num;
                        ^
0_0_37690204_2583.cpp: In function 'int query(int, int, int)':
0_0_37690204_2583.cpp:52:26: error: 'lc' was not declared in this scope
             sum += query(lc, k, n);
                          ^


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-07-07 08:14:42, Gzip enabled