0_0_33530355_29152.cpp: In function 'int main()':
0_0_33530355_29152.cpp:62:21: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
build(root[0],1,n);
^
0_0_33530355_29152.cpp:12:6: note: in passing argument 1 of 'void build(int&, int, int)'
void build(int &k1,int l1,int r1)
^
0_0_33530355_29152.cpp:72:27: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
add(root[timer],root[timer-1],1,n,l,r,d);
^
0_0_33530355_29152.cpp:22:7: note: in passing argument 1 of 'void add(int&, int, int, int, int, int, long long int)'
void add(int &k1,int k2,int la,int ra,int l,int r,long long d)
^
|