摘要: 与01背包区别是:need[i]可以重复 import java.util.*;public class Main { public static void main(String[] args) { //用一维数组实现 Scanner sc=new Scanner(System.in); int 阅读全文
posted @ 2017-08-12 17:21 code666 阅读(170) 评论(0) 推荐(0) 编辑