洛谷P1816 忠诚 题解题目链接:P1816 忠诚
题意:区间min。
BIT写法也就图一乐(其实不建议)
主要在询问上有些区别,
例如如果 x-lowbit(x) 小于 $l$ ,则此时不能直接 x-=lowbit(x)
因为这样
2022-07-12