0_0_26107628_16211.cpp: In function 'void query(int, int, int, int, int, int)':
0_0_26107628_16211.cpp:43:27: error: 'cur' was not declared in this scope
if(l==r) {if(ar[l]>ar[cur])cur=l;return;}
^
0_0_26107628_16211.cpp:48:57: error: too few arguments to function 'void query(int, int, int, int, int, int)'
else if(tree[rt<<1|1]>k) query(m+1,r,rt<<1|1,L,R);
^
0_0_26107628_16211.cpp:41:6: note: declared here
void query(int l,int r,int rt,int L,int R,int k)
^
0_0_26107628_16211.cpp:51:49: error: too few arguments to function 'void query(int, int, int, int, int, int)'
if(L<=m&&tree[rt<<1]>k) query(l,m,rt<<1,L,R);
^
0_0_26107628_16211.cpp:41:6: note: declared here
void query(int l,int r,int rt,int L,int R,int k)
^
0_0_26107628_16211.cpp:52:53: error: too few arguments to function 'void query(int, int, int, int, int, int)'
if(R>m&&tree[rt<<1|1]>k) query(m+1,r,rt<<1|1,L,R);
^
0_0_26107628_16211.cpp:41:6: note: declared here
void query(int l,int r,int rt,int L,int R,int k)
^
|