/in/foo.cc: In function 'void in(int&)':
/in/foo.cc:3:44: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
void in(int &x){char ch=getchar();int fl=1;while((ch<'0'||ch>'9')&&ch!='-')
^~~~~
/in/foo.cc:4:14: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
ch=getchar();if(ch=='-'){ch=getchar();fl=-1;}for(x=0;ch>='0'&&ch<='9';ch=getchar())
^~
/in/foo.cc:4:46: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
ch=getchar();if(ch=='-'){ch=getchar();fl=-1;}for(x=0;ch>='0'&&ch<='9';ch=getchar())
^~~
/in/foo.cc:5:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
x=(x<<3)+(x<<1)+(ch^'0');x*=fl;}
^
/in/foo.cc: In function 'void update(int, int, int, int, int)':
/in/foo.cc:7:10: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;if(x<=mid)update(k<<1,l,mid,x,v);else update(k<<1|1,mid+1,r,x,v);
~^~
/in/foo.cc: In function 'll query(int, int, int, int, int)':
/in/foo.cc:10:10: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;if(x<=mid)res=query(k<<1,l,mid,x,y);
~^~
/in/foo.cc:11:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(mid<y)res+=query(k<<1|1,mid+1,r,x,y);return res;}
^~
/in/foo.cc:11:41: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(mid<y)res+=query(k<<1|1,mid+1,r,x,y);return res;}
^~~~~~