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

41 lines
693 B
Markdown
Raw Normal View History

---
id: 5900f44b1000cf542c50ff5d
title: 'Problema 222: Imballaggio di una sfera'
challengeType: 1
forumTopicId: 301865
dashedName: problem-222-sphere-packing
---
# --description--
Qual è la lunghezza del tubo più corto, di raggio interno 50mm, che può contenere completamente 21 sfere di raggio 30mm, 31mm, ..., 50mm?
Dai la tua risposta in micrometri (${10}^{-6}$ m) arrotondata al numero intero più vicino.
# --hints--
`spherePacking()` dovrebbe restituire `1590933`.
```js
assert.strictEqual(spherePacking(), 1590933);
```
# --seed--
## --seed-contents--
```js
function spherePacking() {
return true;
}
spherePacking();
```
# --solutions--
```js
// solution required
```