Oliver Eyton-Williams ee1e8abd87
feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00

45 lines
847 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f4d41000cf542c50ffe7
title: 问题360可怕的球体
challengeType: 5
videoUrl: ''
dashedName: problem-360-scary-sphere
---
# --description--
给定三维空间中的两个点x1y1z1x2y2z2这些点之间的曼哈顿距离定义为| x1-x2 | + | y1-y2 | + | z1-z2 |。
令Cr为半径为r且在原点O0,0,0中心的球体。设Ir是Cr表面上具有整数坐标的所有点的集合。设Sr是Ir的所有元素与原点O的曼哈顿距离之和。
例如S45= 34518。
找到S1010
# --hints--
`euler360()`应该返回878825614395267100。
```js
assert.strictEqual(euler360(), 878825614395267100);
```
# --seed--
## --seed-contents--
```js
function euler360() {
return true;
}
euler360();
```
# --solutions--
```js
// solution required
```