0_0_26703341_31122.cpp: In function 'void rec(int)':
0_0_26703341_31122.cpp:43:18: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
int &l=c[x][0],&r=c[x][1];
^
0_0_26703341_31122.cpp:43:29: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
int &l=c[x][0],&r=c[x][1];
^
0_0_26703341_31122.cpp: In function 'int split(int, int)':
0_0_26703341_31122.cpp:80:32: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
splay(x,rt); splay(y,c[x][1]);
^
0_0_26703341_31122.cpp:59:6: note: in passing argument 2 of 'void splay(int, int&)'
void splay(int x,int &k){//push x to k
^
0_0_26703341_31122.cpp: In function 'void Insert(int, int)':
0_0_26703341_31122.cpp:116:32: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
splay(x,rt); splay(y,c[x][1]);
^
0_0_26703341_31122.cpp:59:6: note: in passing argument 2 of 'void splay(int, int&)'
void splay(int x,int &k){//push x to k
^
0_0_26703341_31122.cpp: In function 'int main()':
0_0_26703341_31122.cpp:168:44: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
splay(x,rt); splay(y,c[x][1]);
^
0_0_26703341_31122.cpp:59:6: note: in passing argument 2 of 'void splay(int, int&)'
void splay(int x,int &k){//push x to k
^
|