![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
01背包
Remilitarize
Remilitarize on the way of ACM
展开
-
hdu2602 Bone Collector 01背包问题
题目大意: 给出骨头的价值和重量,用体积为V的背包装这些骨头,求最大价值大致思路:C:(二维数组)#include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int maxn=1010; int value[maxn],weight[maxn]; int dp[maxn][maxn]; int原创 2017-02-18 11:08:51 · 293 阅读 · 0 评论 -
hdu2546 饭卡 01背包问题
hdu2546原创 2017-02-18 18:49:59 · 328 阅读 · 0 评论 -
poj3624 Charm Bracelet 01背包
poj3624 01背包原创 2017-03-22 13:37:32 · 411 阅读 · 0 评论