foo.cc: In function 'void change(long long int&, long long int, long long int, long long int)':
foo.cc:30:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
30 | int mid=l+r>>1;
| ~^~
foo.cc: In function 'long long int query(long long int, long long int, long long int, long long int)':
foo.cc:44:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
44 | int mid=l+r>>1;
| ~^~
foo.cc: In function 'void add(long long int)':
foo.cc:63:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
63 | int mid=l+r>>1;
| ~^~
foo.cc: In function 'int main()':
foo.cc:90:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
90 | for(int i=0;i<q.size();i++)
| ~^~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务