摘要: 题目链接:https://www.luogu.com.cn/problem/P1533 解题思路: 主席树求区间第k小模板题 示例程序: #include <bits/stdc++.h> using namespace std; const int maxn = 1e7 + 5; const int 阅读全文
posted @ 2025-04-17 18:14 quanjun 阅读(13) 评论(0) 推荐(0)
摘要: 题目链接:https://www.luogu.com.cn/problem/P3466 解题思路完全来自 CodyTheWolf大佬的博客 示例程序: #include <bits/stdc++.h> using namespace std; const int maxn = 1e5 + 5; mt 阅读全文
posted @ 2025-04-17 16:38 quanjun 阅读(11) 评论(0) 推荐(0)