Problem 732
Standing on the shoulders of trolls
- the distance from his feet to his shoulders in cm,
- the length of his arms in cm,
- his IQ (Irascibility Quotient),
.
Trolls can pile up on top of each other, with each troll standing on the shoulders of the one below him. A troll can climb out of the hole and escape if his hands can reach to the surface. Once a troll escapes he cannot participate any further in the escaping effort.
The trolls execute an optimal strategy for maximizing the total IQ of the escaping trolls, defined as
Let
For example, the first troll (
You are given that
Find
站在巨魔的肩膀上
- 他的肩高为
厘米; - 他的臂长为
厘米; - 他的怒商(怒气商数,简称IQ)为
。
巨魔们可以通过站在别的巨魔的肩膀上来搭起人梯,只要人梯最上方的巨魔的手臂能够够到地表,这只巨魔就能逃生。已经逃生的巨魔不能回洞中继续帮助其他巨魔逃生。
假设巨魔采用了能够使得所有逃出巨魔的IQ之和最高的策略,并记该策略下IQ之和为
记
例如,第一只(编号为
已知
求
Gitalking ...