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.
你可以构建所有子集,检查重量是否小于背包的重量,然后选择最大值的子集。
The weight is too much for my height.
相对我的身高来说,我的体重太重了。
It works in compression to divert the weight above it out to the sides, where the weight is borne by the vertical elements on either side of the arch.
在受到压力时,拱形结构能够起到将其上面的压力转移到侧面,在侧面的重量则由拱形结构两侧的垂直部分来承受。
The total weight of equipment remaining on the lunar surface is about two thousand two hundred sixty eight kilograms.
VOA: special.2010.03.02
And so 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.
因此你可以构建所有子问题,判断它的重量,是否小于背包的重量,然后选择值最大的子问题。
So, it's a trivial matter, by looking at what is the weight and how far does it drop, to say OK, how much work is done by the paddle wheel.
好,让我们看看重物的质量,以及它下落的距离,就知道桨轮做了多少功。
应用推荐