0_0_36263708_10928.cpp: In function 'void build(int, int, ll&)':
0_0_36263708_10928.cpp:62:24: error: invalid initialization of reference of type 'll& {aka long long int&}' from expression of type 'int'
build(l,mid,t[k].ls);
^
0_0_36263708_10928.cpp:52:13: note: in passing argument 3 of 'void build(int, int, ll&)'
inline void build(int l,int r,ll&k)
^
0_0_36263708_10928.cpp:63:26: error: invalid initialization of reference of type 'll& {aka long long int&}' from expression of type 'int'
build(mid+1,r,t[k].rs);
^
0_0_36263708_10928.cpp:52:13: note: in passing argument 3 of 'void build(int, int, ll&)'
inline void build(int l,int r,ll&k)
^
0_0_36263708_10928.cpp: In function 'int main()':
0_0_36263708_10928.cpp:98:23: error: invalid initialization of reference of type 'll& {aka long long int&}' from expression of type 'int'
build(1,n,rt[0]);
^
0_0_36263708_10928.cpp:52:13: note: in passing argument 3 of 'void build(int, int, ll&)'
inline void build(int l,int r,ll&k)
^
|