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_34659155_10361.cpp: In function 'LL query(LL, LL, LL, LL, LL)':
0_0_34659155_10361.cpp:54:36: error: 'ss' was not declared in this scope
         if(r>=B) res+=(B-A+1)*tree[ss].tag;
                                    ^
0_0_34659155_10361.cpp:55:32: error: 'ss' was not declared in this scope
         else res+=(r-A+1)*tree[ss].tag;
                                ^
0_0_34659155_10361.cpp:57:28: error: 'ss' was not declared in this scope
     else res+=(B-A+1)*tree[ss].tag;
                            ^
0_0_34659155_10361.cpp:59:32: error: 'ss' was not declared in this scope
     if(A<=mid) res+=query(tree[ss].l,l,mid,A,B);
                                ^
0_0_34659155_10361.cpp:60:31: error: 'ss' was not declared in this scope
     if(B>mid) res+=query(tree[ss].r,mid+1,r,A,B);
                               ^


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-17 08:32:34, Gzip enabled