/in/foo.cc: In function 'void pushdown(int)':
/in/foo.cc:35:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
rev[x]=laz[x]=0;
~~~~~~^~
/in/foo.cc: In function 'void splay(int, int)':
/in/foo.cc:62:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else rotate(x);rotate(x);
^~~~
/in/foo.cc:62:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
else rotate(x);rotate(x);
^~~~~~
/in/foo.cc: In function 'int build(int, int)':
/in/foo.cc:68:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int m=l+r>>1;
~^~