摘要: 题目链接:https://www.luogu.com.cn/problem/U650054 三维偏序问题。CDQ分治模板题。 数据范围有点大,需要先离散化一下 示例程序: #include <bits/stdc++.h> using namespace std; const int maxn = 1 阅读全文
posted @ 2026-01-14 22:10 quanjun 阅读(4) 评论(0) 推荐(0)
摘要: 思路全部来自 OI WIKI:https://oi.wiki/graph/dynamic-tree-divide/ 按照自己的码风写了一下。 示例程序: #include <bits/stdc++.h> using namespace std; const int maxn = 1e5 + 5; i 阅读全文
posted @ 2026-01-14 00:18 quanjun 阅读(5) 评论(0) 推荐(0)