/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:12:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=tr[id].l+tr[id].r>>1;
~~~~~~~~^~~~~~~~~
/in/foo.cc: In function 'void insert(int, int, int)':
/in/foo.cc:29:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=tr[id].l+tr[id].r>>1;
~~~~~~~~^~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:60:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++)
^~~
/in/foo.cc:63:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
sort(t+1,t+n+1);
^~~~
/in/foo.cc: In function 'int query(int, int, int)':
/in/foo.cc:53:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^