969 B
969 B
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
5900f5481000cf542c51005b | 問題 476: 円を詰める (2) | 1 | 302153 | problem-476-circle-packing-ii |
--description--
辺の長さが a
, b
, c
の三角形の内側で、重ならない 3 つの円で覆うことができる最大面積を R(a, b, c)
とします。
1 ≤ a ≤ b ≤ c < a + b ≤ n
が成り立つすべての三つ組整数 (a, b, c)
における R(a, b, c)
の平均値を S(n)
とします。
S(2) = R(1, 1, 1) ≈ 0.31998
, S(5) ≈ 1.25899
が与えられます。
S(1803)
を求め、四捨五入して小数第 5 位まで示しなさい。
--hints--
circlePackingTwo()
は 110242.87794
を返す必要があります。
assert.strictEqual(circlePackingTwo(), 110242.87794);
--seed--
--seed-contents--
function circlePackingTwo() {
return true;
}
circlePackingTwo();
--solutions--
// solution required