0_0_16549702_30606.cpp: In function 'int build(int, int)':
0_0_16549702_30606.cpp:45:11: error: 'struct Node' has no member named 'l'
tr[k].l=l,tr[k].r=r;
^
0_0_16549702_30606.cpp:45:21: error: 'struct Node' has no member named 'r'
tr[k].l=l,tr[k].r=r;
^
0_0_16549702_30606.cpp: In function 'int update(int, int, ll, int, int, int)':
0_0_16549702_30606.cpp:65:44: error: too few arguments to function 'int update(int, int, ll, int, int, int)'
if(L<=m) tr[k].ls=update(L,R,D,tr[k].ls);
^
0_0_16549702_30606.cpp:55:5: note: declared here
int update(int L,int R,ll D,int l,int r,int x)
^
0_0_16549702_30606.cpp:66:43: error: too few arguments to function 'int update(int, int, ll, int, int, int)'
if(R>m) tr[k].rs=update(L,R,D,tr[k].rs);
^
0_0_16549702_30606.cpp:55:5: note: declared here
int update(int L,int R,ll D,int l,int r,int x)
^
0_0_16549702_30606.cpp: In function 'Query query(int, int)':
0_0_16549702_30606.cpp:72:17: error: 'struct Node' has no member named 'l'
int l=tr[k].l,r=tr[k].r;
^
0_0_16549702_30606.cpp:73:11: error: 'r' was not declared in this scope
if(l==r) return (Query){tr[k].pts,tr[k].cnt};
^
0_0_16549702_30606.cpp:75:14: error: 'r' was not declared in this scope
int m=(l+r)>>1;
^
0_0_16549702_30606.cpp: In function 'int main()':
0_0_16549702_30606.cpp:129:39: error: too few arguments to function 'int update(int, int, ll, int, int, int)'
rt[i]=update(L,R,D,rt[i-1]);
^
0_0_16549702_30606.cpp:55:5: note: declared here
int update(int L,int R,ll D,int l,int r,int x)
^
|