背包问题
文章平均质量分 81
ych_ding
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ 3211洗衣服
#include#includeusing namespace std;struct clrg{ char color[16]; int sum; int i; int a[100];};static int dp[100001];//#define DEBUGint main(){#ifdef DEBUG fstream cin("G:\\book\\al原创 2013-09-30 09:32:50 · 784 阅读 · 0 评论 -
poj3624 0-1背包问题
#include#includeusing namespace std;static const int N = 3403;static const int M = 12881;static int f[N][M];static int c[N], v[N];//#define DEBUGint main(){#ifdef DEBUG fstream cin("G:\原创 2013-09-23 13:16:41 · 6598 阅读 · 0 评论
分享