fix(curriculum): clean-up Project Euler 221-240 (#42839)
* fix: clean-up Project Euler 221-240 * fix: corrections from review Co-authored-by: Tom <20648924+moT01@users.noreply.github.com> Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
@ -10,14 +10,14 @@ dashedName: problem-222-sphere-packing
|
||||
|
||||
What is the length of the shortest pipe, of internal radius 50mm, that can fully contain 21 balls of radii 30mm, 31mm, ..., 50mm?
|
||||
|
||||
Give your answer in micrometres (10-6 m) rounded to the nearest integer.
|
||||
Give your answer in micrometres (${10}^{-6}$ m) rounded to the nearest integer.
|
||||
|
||||
# --hints--
|
||||
|
||||
`euler222()` should return 1590933.
|
||||
`spherePacking()` should return `1590933`.
|
||||
|
||||
```js
|
||||
assert.strictEqual(euler222(), 1590933);
|
||||
assert.strictEqual(spherePacking(), 1590933);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
@ -25,12 +25,12 @@ assert.strictEqual(euler222(), 1590933);
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
function euler222() {
|
||||
function spherePacking() {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
euler222();
|
||||
spherePacking();
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
Reference in New Issue
Block a user