摘要: 先用了贪心吧这个题 A 了,然后来考虑 dp 怎么做 先说贪心,其中 s1 表示走路的距离, s2 表示闪现了多远 s2 相当于只闪现,没蓝了就原地回蓝 但 s1 是两者兼备的,如果闪现的距离更远,就将 s1 覆盖为 s2 #include<iostream> #include<cstdio> #i 阅读全文
posted @ 2021-09-25 19:41 little_sheep_xiaoen 阅读(46) 评论(0) 推荐(0) 编辑
摘要: csp-j2020入门组真题答案及解析 https://www.cnblogs.com/BobHuang/p/13800840.html csp-s2020提高组真题答案及解析 https://www.cnblogs.com/Rainy7/p/csp-s-2020-first.html csp-j2 阅读全文
posted @ 2021-09-25 19:36 little_sheep_xiaoen 阅读(37) 评论(0) 推荐(0) 编辑