1 2 3 4
摘要: https://codeforc.es/contest/914/problem/D Bash and a Tough Math Puzzle 开动脑筋暴力减枝,就是这样了,没啥可说的 #include<iostream> #include<cmath> #include<queue> #includ 阅读全文
posted @ 2020-12-18 20:28 Lesning 阅读(122) 评论(0) 推荐(0) 编辑
摘要: https://codeforc.es/contest/1463/problem/C 这是昨晚的cf题,我很难过没能ac,是因为当时的精神状态不好 这个模拟其实不难写,定义两个东西,当前位置pos和目标位置ans就好了,多睡觉吧,睡醒了才聪明啊 ans小于pos就退步,ans大于pos就进步,写了再 阅读全文
posted @ 2020-12-18 13:21 Lesning 阅读(128) 评论(0) 推荐(0) 编辑