0_0_30224075_22547.cpp: In function 'node ask(int, int, int, int, int)':
0_0_30224075_22547.cpp:69:47: error: no matching function for call to 'node::up(node, node&)'
if (L<=mid) res.up(ask(i<<1,l,mid,L,R),res);
^
0_0_30224075_22547.cpp:69:47: note: candidate is:
0_0_30224075_22547.cpp:13:10: note: void node::up(node&, node&)
void up(node &a,node &b){
^
0_0_30224075_22547.cpp:13:10: note: no known conversion for argument 1 from 'node' to 'node&'
0_0_30224075_22547.cpp:70:50: error: no matching function for call to 'node::up(node&, node)'
if (R>mid) res.up(res,ask(i<<1|1,mid+1,r,L,R));
^
0_0_30224075_22547.cpp:70:50: note: candidate is:
0_0_30224075_22547.cpp:13:10: note: void node::up(node&, node&)
void up(node &a,node &b){
^
0_0_30224075_22547.cpp:13:10: note: no known conversion for argument 2 from 'node' to 'node&'
0_0_30224075_22547.cpp: In function 'void solve(int, int, ll)':
0_0_30224075_22547.cpp:77:64: error: no matching function for call to 'node::up(node, node&)'
if (op==0) res[0].up(ask(1,1,n,in[top[x]],in[x]),res[0]);
^
0_0_30224075_22547.cpp:77:64: note: candidate is:
0_0_30224075_22547.cpp:13:10: note: void node::up(node&, node&)
void up(node &a,node &b){
^
0_0_30224075_22547.cpp:13:10: note: no known conversion for argument 1 from 'node' to 'node&'
0_0_30224075_22547.cpp:78:58: error: no matching function for call to 'node::up(node, node&)'
else res[1].up(ask(1,1,n,in[top[x]],in[x]),res[1]);
^
0_0_30224075_22547.cpp:78:58: note: candidate is:
0_0_30224075_22547.cpp:13:10: note: void node::up(node&, node&)
void up(node &a,node &b){
^
0_0_30224075_22547.cpp:13:10: note: no known conversion for argument 1 from 'node' to 'node&'
0_0_30224075_22547.cpp:82:55: error: no matching function for call to 'node::up(node, node&)'
if (op==0) res[0].up(ask(1,1,n,in[y],in[x]),res[0]);
^
0_0_30224075_22547.cpp:82:55: note: candidate is:
0_0_30224075_22547.cpp:13:10: note: void node::up(node&, node&)
void up(node &a,node &b){
^
0_0_30224075_22547.cpp:13:10: note: no known conversion for argument 1 from 'node' to 'node&'
0_0_30224075_22547.cpp:83:49: error: no matching function for call to 'node::up(node, node&)'
else res[1].up(ask(1,1,n,in[y],in[x]),res[1]);
^
0_0_30224075_22547.cpp:83:49: note: candidate is:
0_0_30224075_22547.cpp:13:10: note: void node::up(node&, node&)
void up(node &a,node &b){
^
0_0_30224075_22547.cpp:13:10: note: no known conversion for argument 1 from 'node' to 'node&'
|