摘要: 卷卷卷!!再颓就没前途了!!! 阅读全文
posted @ 2022-10-03 17:18 lnwhl 阅读(88) 评论(1) 推荐(2) 编辑
该文被密码保护。 阅读全文
posted @ 2023-07-13 22:56 lnwhl 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 以前都是写 zz 的双 $\log$ 的树状数组上二分,今天来学一下单 $\log$ 的树状数组上倍增。 解决问题 现在有两种操作; 插入一个数 $x$ 查询排名为 $k$ 的数 可以使用树状数组,以数值作为树状数组的下标(如果需要离散化就先离散化),插入一个数就是一次修改操作,我们考虑查询操作。 阅读全文
posted @ 2023-02-04 13:35 lnwhl 阅读(134) 评论(1) 推荐(2) 编辑
摘要: Dsu on tree 阅读全文
posted @ 2023-01-27 15:49 lnwhl 阅读(38) 评论(0) 推荐(0) 编辑
摘要: ABC 283 E-G 阅读全文
posted @ 2023-01-01 15:50 lnwhl 阅读(42) 评论(1) 推荐(0) 编辑
摘要: ABC 278 阅读全文
posted @ 2022-11-20 19:53 lnwhl 阅读(30) 评论(1) 推荐(0) 编辑
摘要: ARC 151 A,B 阅读全文
posted @ 2022-10-17 22:16 lnwhl 阅读(50) 评论(1) 推荐(0) 编辑
摘要: ARC 150 A 阅读全文
posted @ 2022-10-17 22:03 lnwhl 阅读(18) 评论(0) 推荐(0) 编辑
摘要: ABC 273 C-E 阅读全文
posted @ 2022-10-16 19:35 lnwhl 阅读(30) 评论(1) 推荐(0) 编辑
摘要: ABC 272 C-E 阅读全文
posted @ 2022-10-16 19:34 lnwhl 阅读(28) 评论(1) 推荐(0) 编辑
摘要: ARC 149 A-C 简要题解 阅读全文
posted @ 2022-10-04 20:27 lnwhl 阅读(53) 评论(1) 推荐(1) 编辑