mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-11 18:02:40 -04:00
891 B
891 B
id, title, challengeType, forumTopicId, dashedName
| id | title | challengeType | forumTopicId | dashedName |
|---|---|---|---|---|
| 5900f5481000cf542c51005b | Problema 476: Imballaggio del cerchio II | 1 | 302153 | problem-476-circle-packing-ii |
--description--
Sia R(a, b, c) l'area massima coperta da tre cerchi non sovrapposti all'interno di un triangolo con lunghezze di bordo a, b e c.
Sia S(n) il valore medio di R(a, b, c) su tutte le triplette intere (a, b, c) tali che 1 ≤ a ≤ b ≤ c < a + b ≤ n.
Ti viene dato S(2) = R(1, 1, 1) ≈ 0.31998, S(5) ≈ 1.25899.
Trova S(1803) arrotondato a 5 decimali dopo il punto decimale.
--hints--
circlePackingTwo() dovrebbe restituire 110242.87794.
assert.strictEqual(circlePackingTwo(), 110242.87794);
--seed--
--seed-contents--
function circlePackingTwo() {
return true;
}
circlePackingTwo();
--solutions--
// solution required