摘要: 题目链接:http://poj.org/problem?id=2479题目分类:动态规划代码:#include#include#include#includeusing namespace std;int a[50000+100];int s[50000+100];int main(){ //... 阅读全文
posted @ 2015-11-08 15:23 Gssol 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://poj.org/problem?id=2392题目分类:动态规划代码:#include#include#include#include#includeusing namespace std;#define INF 0x3f3f3f3fint n;bool f[40010];i... 阅读全文
posted @ 2015-11-08 15:21 Gssol 阅读(189) 评论(0) 推荐(0) 编辑