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 · 393 阅读 · 0 评论 -
hdu2546 饭卡 01背包问题
hdu2546原创 2017-02-18 18:49:59 · 405 阅读 · 0 评论 -
poj3624 Charm Bracelet 01背包
poj3624 01背包原创 2017-03-22 13:37:32 · 479 阅读 · 0 评论
分享