foo.cc: In function 'void build(long long int, long long int, long long int)':
foo.cc:83:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
83 | int mid=l+r>>1;
| ~^~
foo.cc: In function 'void cml(long long int, long long int, long long int, long long int)':
foo.cc:101:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
101 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
foo.cc: In function 'void cmr(long long int, long long int, long long int, long long int)':
foo.cc:112:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
112 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
foo.cc: In function 'void ctl(long long int, long long int, long long int, long long int)':
foo.cc:123:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
123 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
foo.cc: In function 'void ctr(long long int, long long int, long long int, long long int)':
foo.cc:134:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
134 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
foo.cc: In function 'long long int fml(long long int, long long int)':
foo.cc:141:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
141 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
foo.cc: In function 'long long int fmr(long long int, long long int)':
foo.cc:147:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
147 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
foo.cc: In function 'long long int ftl(long long int, long long int)':
foo.cc:153:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
153 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
foo.cc: In function 'long long int ftr(long long int, long long int)':
foo.cc:159:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
159 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
foo.cc: In function 'void update1(long long int, long long int)':
foo.cc:164:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
164 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
foo.cc: In function 'void update2(long long int, long long int, long long int)':
foo.cc:195:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
195 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
foo.cc: In function 'long long int querysum(long long int, long long int, long long int)':
foo.cc:202:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
202 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
正在同步测试数据,请稍后
Found 20 testcases.
[Hydro](https://hydro.ac)提供评测服务