摘要: https://www.luogu.org/problemnew/show/P3953 https://www.zybuluo.com/wsndy-xx/note/1134388 阅读全文
posted @ 2018-05-02 21:15 xayata 阅读(159) 评论(0) 推荐(0) 编辑
摘要: https://www.luogu.org/problemnew/show/P3952 考场上输出的是 "YES" "NO" ++ ,如果不是亲身经历,打死我我都不信 思路: 递归模拟 细节挺多 难度不大 容易写挂 阅读全文
posted @ 2018-05-02 20:36 xayata 阅读(179) 评论(0) 推荐(0) 编辑
摘要: https://www.luogu.org/problemnew/show/P3951 考场上打表找规律的我写出了这样一份代码(紧张到爆<已经爆>) 当时一出考场听说是O(1)做法,当时就懵了(唉) Answer = a * b - a - b; 阅读全文
posted @ 2018-05-02 20:32 xayata 阅读(178) 评论(0) 推荐(0) 编辑