会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
StranGePants
博客园
首页
新随笔
联系
订阅
管理
[置顶]
我是原神职业哥,不要羡慕我
摘要: rt
阅读全文
posted @ 2023-11-06 18:07 StranGePants
阅读(64)
评论(10)
推荐(1)
[置顶]
XPX
摘要: 这是真心话。。。
阅读全文
posted @ 2023-09-06 22:10 StranGePants
阅读(90)
评论(6)
推荐(3)
2025年10月26日
CF1060
摘要: 题目 C(Hard Version) 因为制造两个2的倍数只需至多两次操作,因此按价格排序后,选择方案只有\(1+i\),\(i\) 和 \(1\) 三种,直接判断即可。\(\Omicron(n\ln{n})\) D 按树的深度进行奇偶分类,从叶节点开始删除,设当前奇偶性为 \(x\),与 \(x\
阅读全文
posted @ 2025-10-26 21:43 StranGePants
阅读(12)
评论(2)
推荐(0)
2023年11月14日
[CF1662F] Antennas
摘要: CF1662F 遇到绝对值想想拆开。 考虑优化 bfs 时扩展过程,设当前点为 i,考虑 i,j 连边。 |\(i-j\)|\(\leq\) \(\min(p_i,p_j)\),则 j 至少应该在 [\(i-p_i\),\(i+p_i\)]。 分类讨论一下 \(j\geq i\) 时 \(j-i\l
阅读全文
posted @ 2023-11-14 22:00 StranGePants
阅读(39)
评论(1)
推荐(1)
2023年11月13日
Goose, Goose, DUCK?
摘要: Goose, Goose, DUCK? 对于这种确定 L,R 可简单求出区间答案的问题,我们常常考虑通过固定端点,移动另一端计算贡献。 具体的,我们移动 R,计算[1,R]中的点对答案的贡献。 假设某个值在 [1,R] 中出现位置为 \(1\leq a_1,a_2...a_m\leq R\),可以得
阅读全文
posted @ 2023-11-13 21:46 StranGePants
阅读(32)
评论(0)
推荐(0)
2023年11月5日
[CF1895F] Fancy Arrays
摘要: 男人不轻易流泪,直到你说 I stay
阅读全文
posted @ 2023-11-05 22:42 StranGePants
阅读(112)
评论(3)
推荐(0)
[CF1781F] Bracket Insertion
摘要: FaZe Clan,CS2 两连冠
阅读全文
posted @ 2023-11-05 22:31 StranGePants
阅读(42)
评论(2)
推荐(0)
2023年11月1日
[CF576E] Painting Edges
摘要: mir 要被上帝惩戒了
阅读全文
posted @ 2023-11-01 19:01 StranGePants
阅读(38)
评论(0)
推荐(0)
[CF576D] Flights for Regular Customers
摘要: 斜眼哥你怎么萎了/kk
阅读全文
posted @ 2023-11-01 09:20 StranGePants
阅读(15)
评论(0)
推荐(0)
2023年10月31日
2023/10/31 鲜花
摘要: 雷火剑越来越拉,我该怎么办?雷火剑越来越拉,我该怎么办?雷火剑越来越拉,我该怎么办?雷火剑越来越拉,我该怎么办? G2能不能把尼公子放了,球球拿个 major 吧。 没有 s 赛资格和 blast 会员怎么办呀,石油佬买呀! 什么,你重新启用老杰克?小蜜蜂真啥币! 恭喜 lzh 获得 csp-s 一
阅读全文
posted @ 2023-10-31 16:00 StranGePants
阅读(79)
评论(1)
推荐(2)
2023年10月30日
[CF551E] GukiZ and GukiZiana
摘要: CF551E 卧槽,lzh最爱的分块!卧槽,lzh最爱的分块!卧槽,lzh最爱的分块!卧槽,lzh最爱的分块! 维护懒标,散块重构。 unordered_map<long long,int> 会 TLE unordered_map<long long,bool> 会 AC #include<cstd
阅读全文
posted @ 2023-10-30 22:33 StranGePants
阅读(29)
评论(3)
推荐(0)
下一页
公告