会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
清风紫雪
博客园
首页
新随笔
联系
订阅
管理
2021年2月19日
动态规划-背包问题
摘要: 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)
编辑
公告