上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页
摘要: [problem](https://www.luogu.com.cn/problem/AT_arc145_c) & [blog](https://www.cnblogs.com/liangbowen/p/17640112.html)。 小清新结论题。 ~~提供一个不需要脑子就可以 AC 的方法:看样 阅读全文
posted @ 2023-08-18 11:49 liangbowen 阅读(41) 评论(0) 推荐(2)
摘要: [problem](https://www.luogu.com.cn/problem/AT_arc129_c) & [blog](https://www.cnblogs.com/liangbowen/p/17628395.html)。 提供一种不一样的做法喵。 考虑原问题的逆问题。这个很典,直接前缀 阅读全文
posted @ 2023-08-14 13:28 liangbowen 阅读(28) 评论(0) 推荐(0)
摘要: [problem](https://www.luogu.com.cn/problem/AT_hhkb2020_d) & [blog](https://www.cnblogs.com/liangbowen/p/17610971.html)。 特判一下 $a+b>n$ 时为 $0$。 正难则反,计算重叠 阅读全文
posted @ 2023-08-07 11:23 liangbowen 阅读(38) 评论(0) 推荐(0)
摘要: [problem](https://www.luogu.com.cn/problem/AT_jsc2019_qual_d) & [blog](https://www.cnblogs.com/liangbowen/p/17604061.html)。 是一道不难想,但是有趣的构造题阿!没有题解,我来一发 阅读全文
posted @ 2023-08-03 18:37 liangbowen 阅读(29) 评论(0) 推荐(0)
摘要: [problem](https://www.luogu.com.cn/problem/AT_arc089_b) & [blog](https://www.cnblogs.com/liangbowen/p/17599062.html)。 给一个比较暴躁的做法。 若要求 $(x,y)$ 的颜色为 Whi 阅读全文
posted @ 2023-08-01 20:45 liangbowen 阅读(22) 评论(0) 推荐(0)
摘要: [problem](https://www.luogu.com.cn/problem/P7831) & [blog](https://www.cnblogs.com/liangbowen/p/17577222.html)。 妙妙题。单杀了,来写篇题解。 下文中 $ans_u$ 表示从 $u$ 点出发 阅读全文
posted @ 2023-07-24 14:40 liangbowen 阅读(70) 评论(0) 推荐(0)
摘要: [problem](https://www.luogu.com.cn/problem/P9352) & [blog](https://www.cnblogs.com/liangbowen/p/17571984.html)。 HerryHuang 的 DP 专题中最喜欢的一题,抢第一篇题解 /fend 阅读全文
posted @ 2023-07-21 17:13 liangbowen 阅读(108) 评论(0) 推荐(0)
摘要: ## 前言 [题目传送门!](https://www.luogu.com.cn/problem/P5246) [更好的阅读体验?](https://www.cnblogs.com/liangbowen/p/17566890.html) 耗时一个晚上,没看题解把消失的源代码切了,很高兴,来写篇题解! 阅读全文
posted @ 2023-07-19 21:50 liangbowen 阅读(56) 评论(0) 推荐(1)
摘要: [problem](https://www.luogu.com.cn/problem/CF1438F) & [blog](https://www.cnblogs.com/liangbowen/p/17563234.html)。 神秘随机题。 众所周知: > $(u,v)$ 的 LCA 是所有点 $i 阅读全文
posted @ 2023-07-18 18:31 liangbowen 阅读(41) 评论(0) 推荐(0)
摘要: [problem](https://www.luogu.com.cn/problem/P5811) & [blog](https://www.cnblogs.com/liangbowen/p/17549437.html)。 题解代码都长得离谱,2k 代码了解一下! ~~如果我码风比较压行还可以 2k 阅读全文
posted @ 2023-07-13 10:08 liangbowen 阅读(69) 评论(0) 推荐(2)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页