0_0_38958248_28551.cpp: In function 'void build(int&, int, int)':
0_0_38958248_28551.cpp:25:21: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
25 | build(tr[u].l,l,mid);
| ~~~~~~^
0_0_38958248_28551.cpp:18:17: note: initializing argument 1 of 'void build(int&, int, int)'
18 | void build(int &u,int l,int r){
| ~~~~~^
0_0_38958248_28551.cpp:26:21: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
26 | build(tr[u].r,mid+1,r);
| ~~~~~~^
0_0_38958248_28551.cpp:18:17: note: initializing argument 1 of 'void build(int&, int, int)'
18 | void build(int &u,int l,int r){
| ~~~~~^
0_0_38958248_28551.cpp: In function 'void modify(int, int, int&, int, int, int, long long int)':
0_0_38958248_28551.cpp:39:36: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
39 | modify(l,mid,tr[u].l,tr[q].l,L,R,x);
| ~~~~~~^
0_0_38958248_28551.cpp:29:30: note: initializing argument 3 of 'void modify(int, int, int&, int, int, int, long long int)'
29 | void modify(int l,int r,int &u,int q,int L,int R,long long x){
| ~~~~~^
0_0_38958248_28551.cpp:40:38: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
40 | modify(mid+1,r,tr[u].r,tr[q].r,L,R,x);
| ~~~~~~^
0_0_38958248_28551.cpp:29:30: note: initializing argument 3 of 'void modify(int, int, int&, int, int, int, long long int)'
29 | void modify(int l,int r,int &u,int q,int L,int R,long long x){
| ~~~~~^
0_0_38958248_28551.cpp: In function 'int main()':
0_0_38958248_28551.cpp:59:27: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
59 | build(rt[0],1,n);
| ~~~~^
0_0_38958248_28551.cpp:18:17: note: initializing argument 1 of 'void build(int&, int, int)'
18 | void build(int &u,int l,int r){
| ~~~~~^
0_0_38958248_28551.cpp:70:52: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
70 | modify(1ll,n,rt[now],rt[now-1],l,r,k);
| ~~~~~~^
0_0_38958248_28551.cpp:29:30: note: initializing argument 3 of 'void modify(int, int, int&, int, int, int, long long int)'
29 | void modify(int l,int r,int &u,int q,int L,int R,long long x){
| ~~~~~^
|