Fat has twice the calories per unit weight that protein or carbohydrate sugar has, as a consequence, has the greatest survival value.
单位重量中脂肪的热量含量,是蛋白质和碳水化合物的两倍,因此,脂肪才是最能维持生存的物质
So at the end of the day we're not gonna get out of this need to compare, at least in this context of cups that have weights or ints that have values.
最终我们也无法改变要进行比较的需要,至少在有重量的杯子或者,整数的情况下是这样的。
So here's where we have 30 elements, 40 and a maximum weight of 40.
所以这里我们有30个元素,最大重量是。
As I mentioned before, fat has twice the calories per unit weight as protein and carbohydrate.
如我之前所说,单位重量中脂肪的热量含量,是蛋白质和碳水化合物的两倍
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大,好吧,我知道我不能把它放进去。
Of the weights and the values.
代表的是重量和价值。
Item 1 has a weight of 3.
号物品重量是。
Let's look at an example.
让我们假设重量是。
This is the weight still available.
这是剩下的重量。
v The weight, w, and v, these are the two vectors we've seen here.
重量是w和价值,这是我们看过的向量的两个值。
a w And the amount of weight available, a w, for available weight.
合适的重量的个数是,也就是available,weight的简写。
应用推荐