摘要: ## T1 染色 直接操作分块,可以做到 $O(n\sqrt{n})$ 。(显然树剖求 lca 约为 $O(1)$ ) code ```cpp #include #include #include #include using namespace std; const int max1 = 1e5, 阅读全文
posted @ 2023-07-10 15:51 KafuuChinocpp 阅读(17) 评论(0) 推荐(2)