摘要: 左边: http://acm.hdu.edu.cn/showproblem.php?pid=1060 1 #include <iostream> 2 #include <math.h> 3 using namespace std; 4 5 int main() 6 { 7 int n,m,d,i; 阅读全文
posted @ 2016-04-28 22:59 Wally的博客 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 1.一个简单的dp问题 http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=17083 这个题的代码比较简单,状态转移方程也比较容易。现在对于状态转移方程的理解有了不一样的感受,它就好像高中时写通项公式一样,熟练之后就能很快的写出来 阅读全文
posted @ 2016-04-28 20:58 Wally的博客 阅读(1026) 评论(0) 推荐(0) 编辑