56 lines
1.1 KiB
Markdown
56 lines
1.1 KiB
Markdown
|
---
|
||
|
id: 5900f44b1000cf542c50ff5d
|
||
|
challengeType: 5
|
||
|
title: 'Problem 222: Sphere Packing'
|
||
|
videoUrl: ''
|
||
|
localeTitle: 'Задача 222: Сфера упаковки'
|
||
|
---
|
||
|
|
||
|
## Description
|
||
|
<section id="description"> Какова длина самой короткой трубы, внутреннего радиуса 50 мм, которая может полностью содержать 21 шарик радиусов 30 мм, 31 мм, ..., 50 мм? <p> Дайте свой ответ в микрометрах (10-6 м), округленных до ближайшего целого числа. </p></section>
|
||
|
|
||
|
## Instructions
|
||
|
<section id="instructions">
|
||
|
</section>
|
||
|
|
||
|
## Tests
|
||
|
<section id='tests'>
|
||
|
|
||
|
```yml
|
||
|
tests:
|
||
|
- text: <code>euler222()</code> должен вернуть 1590933.
|
||
|
testString: 'assert.strictEqual(euler222(), 1590933, "<code>euler222()</code> should return 1590933.");'
|
||
|
|
||
|
```
|
||
|
|
||
|
</section>
|
||
|
|
||
|
## Challenge Seed
|
||
|
<section id='challengeSeed'>
|
||
|
|
||
|
<div id='js-seed'>
|
||
|
|
||
|
```js
|
||
|
function euler222() {
|
||
|
// Good luck!
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
euler222();
|
||
|
|
||
|
```
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
</section>
|
||
|
|
||
|
## Solution
|
||
|
<section id='solution'>
|
||
|
|
||
|
```js
|
||
|
// solution required
|
||
|
```
|
||
|
</section>
|