![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
背包问题
文章平均质量分 81
ych_ding
这个作者很懒,什么都没留下…
展开
-
POJ 3211洗衣服
#include #include using namespace std; struct clrg { char color[16]; int sum; int i; int a[100]; }; static int dp[100001]; //#define DEBUG int main() { #ifdef DEBUG fstream cin("G:\\book\\al原创 2013-09-30 09:32:50 · 728 阅读 · 0 评论 -
poj3624 0-1背包问题
#include #include using namespace std; static const int N = 3403; static const int M = 12881; static int f[N][M]; static int c[N], v[N]; //#define DEBUG int main() { #ifdef DEBUG fstream cin("G:\原创 2013-09-23 13:16:41 · 6410 阅读 · 0 评论