foo.cc:2: warning: ignoring '#pragma optimize ' [-Wunknown-pragmas]
2 | #pragma optimize(2)
|
foo.cc: In function 'void build(int, int, int)':
foo.cc:46:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
46 | int mid=l+r>>1;
| ~^~
foo.cc: In function 'void update(int, int, int, ll)':
foo.cc:61:32: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
61 | int mid=tr[u].l+tr[u].r>>1;
| ~~~~~~~^~~~~~~~
foo.cc: In function 'll query(int, int, int)':
foo.cc:72:32: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
72 | int mid=tr[u].l+tr[u].r>>1;
| ~~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务