摘要: 题目传送门 #include <bits/stdc++.h> using namespace std; typedef long long LL; const int N = 33010; const int INF = 0x3f3f3f3f; int n; struct Node { int l, 阅读全文
posted @ 2022-05-07 16:29 糖豆爸爸 阅读(83) 评论(0) 推荐(0)
摘要: ##$AcWing$ $253$. 普通平衡树 一、题目描述 您需要写一种数据结构(可参考题目标题),来维护一些数,其中需要提供以下操作: 1 插入数值 $x$。 2 删除数值 $x$(若有多个相同的数,应只删除一个)。 3 查询数值 $x$ 的排名(若有多个相同的数,应输出最小的排名)。 4 查询 阅读全文
posted @ 2022-05-07 09:53 糖豆爸爸 阅读(201) 评论(1) 推荐(1)
Live2D