freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-222-sphere-packing.md

846 B
Raw Blame History

id challengeType videoUrl title
5900f44b1000cf542c50ff5d 5 问题222球体包装

Description

什么是最短管道的长度内径为50毫米可以完全包含21个半径为30毫米31毫米......50毫米的球

以微米10-6米四舍五入到最接近的整数给出答案。

Instructions

Tests

tests:
  - text: <code>euler222()</code>应该返回1590933。
    testString: assert.strictEqual(euler222(), 1590933);

Challenge Seed

function euler222() {
  // Good luck!
  return true;
}

euler222();

Solution

// solution required

/section>