上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页
摘要: 洛谷 P5327 [ZJOI2019]语言 https://www.luogu.com.cn/problem/P5327 Tutorial https://www.luogu.com.cn/blog/Sooke/solution-p5327 考虑如果 \(n,m \le 5 \times 10^3\ 阅读全文
posted @ 2020-07-02 19:37 LJZ_C 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 洛谷 P5270 [ZJOI2019]麻将 https://www.luogu.com.cn/problem/P5279 Tutorial https://www.luogu.com.cn/blog/DOF/solution-p5279 考虑对于一副牌如何判断是否胡了. 发现一种数字开头的顺子小于$ 阅读全文
posted @ 2020-07-01 16:28 LJZ_C 阅读(136) 评论(0) 推荐(0) 编辑
摘要: agc_045f Division into Multiples https://atcoder.jp/contests/agc045/tasks/agc045_f Tutorial https://www.cnblogs.com/weiyanpeng/p/13095975.html https:/ 阅读全文
posted @ 2020-07-01 12:00 LJZ_C 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 洛谷 P5326 [ZJOI2019]开关 https://www.luogu.com.cn/problem/P5326 Tutorial https://www.luogu.com.cn/blog/xht37/solution-p5326 https://www.cnblogs.com/PinkR 阅读全文
posted @ 2020-06-30 19:04 LJZ_C 阅读(165) 评论(0) 推荐(0) 编辑
摘要: arc099_f Eating Symbols Hard https://atcoder.jp/contests/arc099/tasks/arc099_d Tutorial https://img.atcoder.jp/arc099/editorial.pdf 考虑用哈希来判断序列的相等.设$A$ 阅读全文
posted @ 2020-06-30 15:47 LJZ_C 阅读(169) 评论(0) 推荐(0) 编辑
摘要: agc045_e Fragile Balls https://atcoder.jp/contests/agc045/tasks/agc045_e Tutorial https://img.atcoder.jp/agc045/editorial.pdf 将每个球看作一条从$a_i$连向$b_i$的有向 阅读全文
posted @ 2020-06-30 10:56 LJZ_C 阅读(245) 评论(0) 推荐(1) 编辑
摘要: agc045_d Lamps and Buttons https://atcoder.jp/contests/agc045/tasks/agc045_d Tutorial 考虑Snuke的策略. 从小到大一次枚举 \(i\) ,按下 \(i\) ,如果 \(p_i=i\) ,则失败,否则可以点亮 \ 阅读全文
posted @ 2020-06-29 18:12 LJZ_C 阅读(266) 评论(0) 推荐(0) 编辑
摘要: agc045_c Range Set https://atcoder.jp/contests/agc045/tasks/agc045_c Tutorial https://img.atcoder.jp/agc045/editorial.pdf 考虑如何判断是否能得到某个01串 对于长度大于等于$A$ 阅读全文
posted @ 2020-06-29 12:11 LJZ_C 阅读(304) 评论(0) 推荐(1) 编辑
摘要: 洛谷 P5666 树的重心 https://www.luogu.com.cn/problem/P5666 Tutorial https://www.luogu.com.cn/blog/soaring/solution-p5666 关于树的重心有一条性质,假如$u$不是重心,那么重心一定在$u$的si 阅读全文
posted @ 2020-06-29 09:05 LJZ_C 阅读(242) 评论(0) 推荐(0) 编辑
摘要: agc045_b 01 Unbalanced https://atcoder.jp/contests/agc045/tasks/agc045_b Tutorial https://img.atcoder.jp/agc045/editorial.pdf 将0的值看作$-1$,1的值看作$1$,设$su 阅读全文
posted @ 2020-06-29 07:50 LJZ_C 阅读(343) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页