foo.cc: In function 'void build(long long int, long long int, long long int)':
foo.cc:87:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
87 | 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:106:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
106 | 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:119:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
119 | 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:130:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
130 | 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:142:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
142 | 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:150:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
150 | 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:156:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
156 | 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:162:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
162 | 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:168:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
168 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
foo.cc: In function 'void update1(long long int, long long int)':
foo.cc:174:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
174 | 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:208:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
208 | 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:216:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
216 | int mid=tree[p].l+tree[p].r>>1;
| ~~~~~~~~~^~~~~~~~~~
Found 20 testcases.
[Hydro](https://hydro.ac)提供评测服务