0_0_36784249_31132.cpp: In function 'void solve()':
0_0_36784249_31132.cpp:74:15: error: invalid initialization of reference of type 'int&' from expression of type 'll {aka long long int}'
build(rt[0],1,n);
^
0_0_36784249_31132.cpp:18:6: note: in passing argument 1 of 'void build(int&, int, int)'
void build(int &k,int l,int r){
^
0_0_36784249_31132.cpp:82:28: error: invalid initialization of reference of type 'int&' from expression of type 'll {aka long long int}'
insert(rt[tim+1],rt[tim],1,n,l,r,d);
^
0_0_36784249_31132.cpp:43:6: note: in passing argument 1 of 'void insert(int&, int, int, int, int, int, ll)'
void insert(int &k,int pr,int l,int r,int ql,int qr,ll v){
^
|