会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
LKU
博客园
首页
新随笔
联系
订阅
管理
2020年12月8日
acwing 4 多重背包问题 I
摘要: 多重背包 有 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)
公告