摘要: 学习资料:https://programmercarl.com/背包理论基础01背包-1.html 动态规划 01背包问题 学习记录: 卡码网46题.01背包 点击查看代码 # # 二维背包解法 # n, bagweight = map(int, input().split()) # weight= 阅读全文
posted @ 2024-11-04 22:48 Tristan241001 阅读(13) 评论(0) 推荐(0)