Files
freeCodeCamp/curriculum/challenges/japanese/10-coding-interview-prep/project-euler/problem-222-sphere-packing.md
2022-01-20 20:30:18 +01:00

783 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f44b1000cf542c50ff5d 問題 222: 球を詰める 5 301865 problem-222-sphere-packing

--description--

内半径が 50 mm のパイプの中に半径 30 mm, 31 mm, ..., 50 mm の球を 21 個の詰める場合、これらで完全に詰めることができるパイプの最短の長さを求めなさい。

回答は、マイクロメートル ({10}^{-6} m) 単位で最も近い整数に四捨五入すること。

--hints--

spherePacking()1590933 を返す必要があります。

assert.strictEqual(spherePacking(), 1590933);

--seed--

--seed-contents--

function spherePacking() {

  return true;
}

spherePacking();

--solutions--

// solution required