装载问题有两艘船,载重量分别是c1、 c2,n个集装箱,重量是wi (i=1…n),且所有集装箱的总重量不超过c1+c2。确定是否有可能将所有集装箱全部装入两艘
There are two ships with loading problems, the load is c1, c2, n containers, the weight is wi (i = 1...n), and the total weight of all containers does not exceed c1 + c2. Determine if it is possible to load all the containers into two ships
下载地址
用户评论
第一次下载失败了 还要来评论一下 真不人性化
没注释,但是程序是好程序
太谢谢了,真是帮了大忙,很有用
程序运行正确,谢谢
这个程序写的很好,经运行完全正确
很有用的程序,希望能够关注
程序很好,很适合人学习
程序运行正确,不过没有注释,不是很好理解。
这个程序写的和0-1背包问题差不多,思路很清晰,主要是比背包问题多了些判断,很好