欢迎光临

我们一直在努力

你可以构建所有子集,检查重量是否小于背包的重量,然后选择最大值的子集。

日期: 来源:雅诚德英语网

You could construct all subsets, check that the weight is less than the weight of the knapsack, and then choose the subset with the maximum value.

你可以构建所有子集,检查重量是否小于背包的重量,然后选择最大值的子集。

句子推荐