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_36347931_27387.cpp: In function 'int query0(int, int, int, int&)':
0_0_36347931_27387.cpp:78:27: error: 'ql' was not declared in this scope
  int t=query0(lc[x],l,mid,ql,y);
                           ^
0_0_36347931_27387.cpp: In function 'int main()':
0_0_36347931_27387.cpp:117:39: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'int'
    int t=query0(rt[x],1,10000000,1,_=k);
                                       ^
0_0_36347931_27387.cpp:70:5: note: in passing argument 4 of 'int query0(int, int, int, int&)'
 int query0(int x,int l,int r,int &y)
     ^
0_0_36347931_27387.cpp:118:45: error: too few arguments to function 'long long int querys(int, int, int, int, int)'
    ans=((ans>p)+1)*querys(rt[x],1,10000000,t);
                                             ^
0_0_36347931_27387.cpp:82:11: note: declared here
 long long querys(int x,int l,int r,int ql,int qr)
           ^


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-23 04:40:45, Gzip enabled