摘要: 01背包 题意 算法思路 #include<bits/stdc++.h> using namespace std; const int MAXN = 1005; int v[MAXN]; // 体积 int w[MAXN]; // 价值 int f[MAXN][MAXN]; // f[i][j], 阅读全文
posted @ 2021-02-19 23:08 清风紫雪 阅读(69) 评论(0) 推荐(0) 编辑