摘要: 多重背包 有 n种物品 一共有 m大小的背包,每种物品的价值 大小 个数 为 s[i],v[i],num[i]; #include<bits/stdc++.h>//cmhao #define N 100000 using namespace std; int a[N]; int n,m,cut; i 阅读全文
posted @ 2020-12-08 15:59 君与 阅读(58) 评论(0) 推荐(0)