Loading

摘要: 题目链接: https://www.acwing.com/problem/content/1216/ 题解: 一定要注意对于负数取余,要用数学上的定义,必须>=0 最后那个s也要记得用函数取余 AC代码: #include <iostream> #include <algorithm> #inclu 阅读全文
posted @ 2020-02-10 16:26 Doubest 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://www.acwing.com/problem/content/description/1214/ 题解: DP问题混合怪兽 AC代码: #include <cstring> #include <iostream> #include <algorithm> #include 阅读全文
posted @ 2020-02-10 14:53 Doubest 阅读(142) 评论(0) 推荐(0) 编辑