摘要: 【背包问题】 【01背包】 模版题https://www.acwing.com/problem/content/2/ 一维:从m~1 模版代码 二维写法 const int N=1010; int n,m; int v[N],w[N]; int dp[N][N]; void solve(){ cin 阅读全文
posted @ 2025-02-20 01:17 White_ink 阅读(9) 评论(0) 推荐(0)