Then if the weight of i is less than the available weight, I can return the value of i.
然后如果i的重量,小于剩下的重量,我将返回i的价值。
And if you want to lose body fat as far as that kind of weight, that's the way to do it.
如果你想要减掉脂肪和重量,这就是方法。
So each of these cups again have different weights if I want to find the lightest of them I might start not knowing which is which.
它们的重量互不相同,如果我要,找出最轻的一个,而我根本不知道会是,哪一个。
The next line says if the weight of i is greater than a w, well then I know I can't put it in.
下一行说的是,如果i的重量比a,w大,好吧,我知道我不能把它放进去。
And people are making errors of this magnitude you can see the problem.
如果人们在重量估测上犯了错,问题便出现了
So how would we go about solving this problem if I told you not only was there a maximum weight, but there was a maximum volume. Well, we want to go back and attack it exactly the way we attacked it the first time, which was write some mathematical formulas.
有些时候两个都重要,所以如果我告诉你这里不仅有,最大重量还有最大容量,我们应该怎么解决这个问题呢?,好了,我们想回过来然后,和第一次一样看看这个问题。
应用推荐