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_38697654_24590.cpp: In member function 'long long int SGT::query(int, int, int, int, int, int)':
0_0_38697654_24590.cpp:119:34: error: 'll' was not declared in this scope; did you mean 'lc'?
  119 |                 int mid=(l+r)>>1;ll ans=0;
      |                                  ^~
      |                                  lc
0_0_38697654_24590.cpp:120:29: error: 'ans' was not declared in this scope; did you mean 'abs'?
  120 |                 if(ql<=mid) ans+=query(lc[o],l,mid,ql,qr,TAG+tag[o]);
      |                             ^~~
      |                             abs
0_0_38697654_24590.cpp:121:28: error: 'ans' was not declared in this scope; did you mean 'abs'?
  121 |                 if(qr>mid) ans+=query(rc[o],mid+1,r,ql,qr,TAG+tag[o]);
      |                            ^~~
      |                            abs
0_0_38697654_24590.cpp:122:24: error: 'ans' was not declared in this scope; did you mean 'abs'?
  122 |                 return ans;
      |                        ^~~
      |                        abs


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-09-28 17:29:13, Gzip enabled