0_0_18456509_18301.cpp: In function 'int getmax(node*, int, int, int, int)':
0_0_18456509_18301.cpp:28:67: error: 'returno' was not declared in this scope
int getmax(node*o,int l,int r,int nl=1,int nr=n){if(l<=nl&&nr<=r){returno->mx;}else{pd(o);int mid=(nl+nr)>>1;int ans=0;if(l<=mid) ans=max(ans,getmax(o->ch[0],l,r,nl,mid));if(mid<r) ans=max(ans,getmax(o->ch[1],l,r,mid+1,nr));return ans;}}
^
0_0_18456509_18301.cpp: In function 'long long int getsum(node*, int, int, int, int)':
0_0_18456509_18301.cpp:29:73: error: 'returno' was not declared in this scope
long long getsum(node*o,int l,int r,int nl=1,int nr=n){if(l<=nl&&nr<=r){returno->sum;}else{pd(o);int mid=(nl+nr)>>1;long long ans=0;if(l<=mid) ans+=getsum(o->ch[0],l,r,nl,mid);if(mid<r) ans+=getsum(o->ch[1],l,r,mid+1,nr);return ans;}}
^
|