/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:63:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int lc=o<<1,rc=lc|1,M=L+R>>1;
~^~
/in/foo.cc: In function 'void add(int, int, int, int, int, short int)':
/in/foo.cc:71:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int lc=o<<1,rc=lc|1,M=L+R>>1;
~^~
/in/foo.cc: In function 'int ask(int, int, int, int, int)':
/in/foo.cc:79:25: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int lc=o<<1,rc=lc|1,M=L+R>>1,ans=0;
~^~
/in/foo.cc: In function 'void rot(int)':
/in/foo.cc:91:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(ch[fa][d]=ch[o][d^1])f[ch[fa][d]]=fa;
^
/in/foo.cc: In function 'void access(int)':
/in/foo.cc:108:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(ch[x][1]=y){
^