0_0_26090753_30402.cpp: In function 'void update(int, int, int, int)':
0_0_26090753_30402.cpp:52:8: error: 'x' was not declared in this scope
if(x<=mid) update(k<<1,x,y);
^
0_0_26090753_30402.cpp:52:30: error: 'y' was not declared in this scope
if(x<=mid) update(k<<1,x,y);
^
0_0_26090753_30402.cpp:53:26: error: 'y' was not declared in this scope
else update(k<<1|1,x,y);
^
0_0_26090753_30402.cpp: In function 'int main()':
0_0_26090753_30402.cpp:98:29: error: too few arguments to function 'void update(int, int, int, int)'
update(1,r,dp[r]);
^
0_0_26090753_30402.cpp:45:6: note: declared here
void update(int k,int l,int r,int num)
^
0_0_26090753_30402.cpp:102:33: error: too few arguments to function 'void update(int, int, int, int)'
update(1,r,dp[r]);
^
0_0_26090753_30402.cpp:45:6: note: declared here
void update(int k,int l,int r,int num)
^
|