/in/foo.cc: In member function 'void pre_tree::insert(int, int, int&, int, int, data)':
/in/foo.cc:42:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
42 | if(l==r)return ls[p]=rs[p]=0,void(); int mid=(l+r)>>1;
| ^~
/in/foo.cc:42:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
42 | if(l==r)return ls[p]=rs[p]=0,void(); int mid=(l+r)>>1;
| ^~~
/in/foo.cc: In member function 'data pre_tree::query(int, int, int, int, int)':
/in/foo.cc:46:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
46 | if(!p||L<=l&&r<=R)return t[p];
| ~~~~^~~~~~
/in/foo.cc: In member function 'void pre_array::insert(int, int, int&, int, int, int)':
/in/foo.cc:60:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
60 | if(l==r)return ls[p]=rs[p]=0,void(); int mid=(l+r)>>1;
| ^~
/in/foo.cc:60:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
60 | if(l==r)return ls[p]=rs[p]=0,void(); int mid=(l+r)>>1;
| ^~~
/in/foo.cc: In member function 'int pre_array::query(int, int, int, int)':
/in/foo.cc:64:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
64 | if(!p||l==r)return t[p]; int mid=(l+r)>>1;
| ^~
/in/foo.cc:64:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
64 | if(!p||l==r)return t[p]; int mid=(l+r)>>1;
| ^~~