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_29881522_27559.cpp: In function 'void build(ll, ll, ll)':
0_0_29881522_27559.cpp:17:11: error: 'tr' was not declared in this scope
     ++pp; tr[rt].l = l; tr[rt].r = r;
           ^
0_0_29881522_27559.cpp: In function 'void cr(ll, ll)':
0_0_29881522_27559.cpp:28:15: error: 'tr' was not declared in this scope
     ll mid = (tr[rt].l + tr[rt].r) >> 1;
               ^
0_0_29881522_27559.cpp: In function 'll ch(ll, ll, ll)':
0_0_29881522_27559.cpp:43:9: error: 'tr' was not declared in this scope
     if (tr[x].l == tr[x].r)
         ^
0_0_29881522_27559.cpp:45:14: error: 'tr' was not declared in this scope
     ll tmp = tr[tr[y].ls].sum - tr[tr[x].ls].sum;
              ^


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-08 15:28:16, Gzip enabled