摘要: 01dp不过由于数组过于大,开不开,学了搜索过了,先记录下 还有一种方法#include#includeusing namespace std;const int MAXN=10000010;int a[MAXN];int n,m,ans;bool cmp(int a,int b){ retu... 阅读全文
posted @ 2012-08-05 20:49 calmound 阅读(224) 评论(1) 推荐(0) 编辑