摘要: 模板 include using namespace std; const int maxn=100005; int c[maxn],value[maxn],num[maxn];//cost:费用, val:价值, num:数量 int dp[maxn]; int V; //01背包 void Ze 阅读全文
posted @ 2019-07-19 17:37 xzj213 阅读(148) 评论(0) 推荐(0) 编辑