摘要: 题目链接:http://poj.org/problem?id=1742http://acm.hdu.edu.cn/showproblem.php?pid=2844题目分类:动态规划代码:#include#include#include#includeusing namespace std;int n... 阅读全文
posted @ 2015-11-04 23:08 Gssol 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://poj.org/problem?id=3616题目分类:动态规划代码:#include#include#include#includeusing namespace std;int n,m,r;int dp[2000];struct P{ int a,b,c;}poin... 阅读全文
posted @ 2015-11-04 23:05 Gssol 阅读(142) 评论(0) 推荐(0) 编辑