摘要: package com.wd.knapsack; public class Knapsack_mutil { public static void main(String[] args) { // 总个数 int count = 0; // 总容量 int amount = 0; // 每个物品的重 阅读全文
posted @ 2020-02-18 15:36 Steven-Russell 阅读(10) 评论(0) 推荐(0)
摘要: package com.wd.knapsack; public class Knapsack_full { public static void main(String[] args) { // 总个数 int count = 0; // 总容量 int amount = 0; // 每个物品的重量 阅读全文
posted @ 2020-02-18 14:11 Steven-Russell 阅读(6) 评论(0) 推荐(0)