随笔分类 - 数据结构
摘要:求区间第k小 题目链接:https://www.luogu.org/problem/P3834 动态主席树,求区间第k小 题目链接:https://www.luogu.org/problem/P2617 可持久化数组 题目链接:https://www.luogu.org/problem/P3919
阅读全文
摘要:题目描述 FJ's N (1 ≤ N ≤ 10,000) cows conveniently indexed 1..N are standing in a line. Each cow has a positive integer height (which is a bit of secret).
阅读全文