chore(i18n,learn): processed translations (#45271)

This commit is contained in:
camperbot
2022-02-28 13:29:21 +05:30
committed by GitHub
parent 5e5015e47d
commit fbc7a26529
127 changed files with 1288 additions and 1079 deletions

View File

@ -1,6 +1,6 @@
---
id: 5900f3ea1000cf542c50fefd
title: 'Problem 126: Cuboid layers'
title: 'Problema 126: strati cuboidi'
challengeType: 5
forumTopicId: 301753
dashedName: problem-126-cuboid-layers
@ -8,16 +8,26 @@ dashedName: problem-126-cuboid-layers
# --description--
The minimum number of cubes to cover every visible face on a cuboid measuring 3 x 2 x 1 is twenty-two.
Il numero minimo di cubi per coprire ogni faccia visibile su un cuboide che misura 3 x 2 x 1 è ventidue.
If we then add a second layer to this solid it would require forty-six cubes to cover every visible face, the third layer would require seventy-eight cubes, and the fourth layer would require one-hundred and eighteen cubes to cover every visible face. However, the first layer on a cuboid measuring 5 x 1 x 1 also requires twenty-two cubes; similarly the first layer on cuboids measuring 5 x 3 x 1, 7 x 2 x 1, and 11 x 1 x 1 all contain forty-six cubes. We shall define C(n) to represent the number of cuboids that contain n cubes in one of its layers. So C(22) = 2, C(46) = 4, C(78) = 5, and C(118) = 8. It turns out that 154 is the least value of n for which C(n) = 10. Find the least value of n for which C(n) = 1000.
<img class="img-responsive center-block" alt="Un cuboide 3x2x1 ricoperto con ventidue cubi 1x1x1" src="https://cdn.freecodecamp.org/curriculum/project-euler/cuboid-layers.png" style="background-color: white; padding: 10px;" />
Se aggiungiamo un secondo strato a questo solido richiederebbe quarantasei cubi per coprire ogni faccia visibile, il terzo strato richiederebbe settantotto cubi, e il quarto strato richiederedde centodiciotto cubi per coprire ogni faccia visibile.
Eppure, il primo strato di un cuboide misurante 5 x 1 x 1 richiede pure ventidue cubi; in modo simile, il primo strato di cuboidi misuranti 5 x 3 x 1, 7 x 2 x 1, e 11 x 1 x 1 tutti contengono quarantasei cubi.
Definiamo $C(n)$ per rappresentare il numero di cuboidi che contengono $n$ cubi in uno dei suoi strati. Quindi $C(22) = 2$, $C(46) = 4$, $C(78) = 5$, e $C(118) = 8$.
Si scopre che 154 è il valore più basso di $n$ per cui $C(n) = 10$.
Trova il valore più piccolo di $n$ per cui $C(n) = 1000$.
# --hints--
`euler126()` should return 18522.
`cuboidLayers()` dovrebbe restituire `18522`.
```js
assert.strictEqual(euler126(), 18522);
assert.strictEqual(cuboidLayers(), 18522);
```
# --seed--
@ -25,12 +35,12 @@ assert.strictEqual(euler126(), 18522);
## --seed-contents--
```js
function euler126() {
function cuboidLayers() {
return true;
}
euler126();
cuboidLayers();
```
# --solutions--