摘要: [题面传送门](https://codeforces.ml/contest/348/problem/C) 对于这类不好直接维护的数据结构,第一眼应该想到…… 根号分治! 我们考虑记【大集合】为大小 $\geq\sqrt{n}$ 的集合,【小集合】为大小 $ using namespace std; 阅读全文
posted @ 2021-01-30 10:39 tzc_wk 阅读(123) 评论(1) 推荐(0)