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

941 B
Raw Blame History

id challengeType title videoUrl localeTitle
5900f44b1000cf542c50ff5d 5 Problem 222: Sphere Packing 问题222球体包装

Description

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

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

Instructions

Tests

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

Challenge Seed

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

euler222();

Solution

// solution required