freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-476-circle-packing-...

607 B
Raw Blame History

id title challengeType videoUrl
5900f5481000cf542c51005b 问题476圆形包装II 5

--description--

令Rabc为具有边长ab和c的三角形内的三个非重叠圆所覆盖的最大面积。令Sn为Rabc在所有整数三元组abc上的平均值使得1≤a≤b≤c<a +b≤n给出S2 = R1,1,1≈0.31998S5≈1.25899。查找S1803四舍五入到小数点后面的小数点后5位。

--hints--

euler476()应返回110242.87794。

assert.strictEqual(euler476(), 110242.87794);

--solutions--