函数`query`中
```
int m=(val[pos].l+val[pos].r)>>1,s=0;
```
变量 $s$ 的应定义为 `long long` 类型。
by 10circle @ 2021-07-29 23:52:18
@[10circle](/user/267596) 谢谢
by MatrixGroup @ 2021-07-30 08:45:12