摘要: 求背包的最大价值,并求其由哪些物品组成(拓展) //01背包问题 public class Main{ static int m = 8; static int n = 4; static int[] value = { 0 , 3 , 4 , 5 , 6 }; static int[] weigh 阅读全文
posted @ 2020-04-03 12:54 何浩源 阅读(511) 评论(0) 推荐(0) 编辑
//一下两个链接最好自己保存下来,再上传到自己的博客园的“文件”选项中