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.
因此你可以构建所有子问题,判断它的重量,是否小于背包的重量,然后选择值最大的子问题。
Best way to lose weight? Well, first of all, you must be active.
减肥最好的办法?嗯,首先,你必须积极主动。
And inside of each of these cups is a different weight so that in theory all of these cups are different weights.
每个杯子里的东西重量都不同,这样,从理论上看,这些杯子的重量都不同。
Now when people gain enough weight, they gain it all over their body, but those are the typical weight gain patterns and it happens for hormonal reasons.
如果人们增重很多,那么他们全身会均匀地增胖,但刚才讲的是比较典型的增重模式,激素是导致它们发生的原因
We started out with just a simple idea: that you don't want to put all your eggs in one basket and if you had a lot of independent stocks you would want to just weight them equally.
我们从一个简单的想法开始:,你不想把所有的鸡蛋放入一个篮子里,如果你有许多互相独立的股票,你给它们相同的权重。
Because goal weight in New York, let's all be honest,
因为,让我们坦白点,在纽约的目标体重
because, after all, you are trying to lose some weight.
因为毕竟,你最近在减肥。
There are very interesting relationships between weight and risk for all diseases.
而体重与患病风险之间的关系也很有趣
What this is, is you take a group of studies on an issue, you pool them all together, and then you weight studies differently depending on factors like how large they were, how good their methods were, and then you come out with overall estimates about the impact of something, in this case the Mediterranean Diet, on health outcomes.
所谓荟萃分析就是将某一问题的一组研究,汇总起来,并根据某些因素,赋予这些研究不同的权重,如基于研究的大小,研究方法的好坏等,然后得出关于某事物的影响的总体评估,在地中海式饮食中就是指健康结果
That constellation of risk factors that gets packed together tells you more in some cases about a person's risk for disease than if all you knew was their weight.
上述提到的一系列的风险因素,能告诉我们更多有关个人的患病风险,这比仅仅知道体重更能说明问题
应用推荐