0_0_23897956_22275.cpp: In function 'void STUpdate(int, int, int, int, int, STree)':
0_0_23897956_22275.cpp:90:45: error: invalid conversion from 'STree {aka segmenttree*}' to 'int' [-fpermissive]
if(pp <= mid) STUpdate(pp, l, mid, p<<1, ST);
^
0_0_23897956_22275.cpp:90:45: error: too few arguments to function 'void STUpdate(int, int, int, int, int, STree)'
0_0_23897956_22275.cpp:80:6: note: declared here
void STUpdate(int pp, int val, int l, int r, int p, STree ST) {
^
0_0_23897956_22275.cpp:91:42: error: invalid conversion from 'STree {aka segmenttree*}' to 'int' [-fpermissive]
else STUpdate(pp, mid + 1, r, p<<1|1, ST);
^
0_0_23897956_22275.cpp:91:42: error: too few arguments to function 'void STUpdate(int, int, int, int, int, STree)'
0_0_23897956_22275.cpp:80:6: note: declared here
void STUpdate(int pp, int val, int l, int r, int p, STree ST) {
^
|