chore(learn): Applied MDX format to Chinese curriculum files (#40462)

This commit is contained in:
Randell Dawson
2020-12-16 00:37:30 -07:00
committed by GitHub
parent 873fce02a2
commit 9ce4a02a41
1665 changed files with 58741 additions and 88042 deletions

View File

@ -1,55 +1,27 @@
---
id: 5900f4d41000cf542c50ffe7
title: 问题360可怕的球体
challengeType: 5
videoUrl: ''
title: 问题360可怕的球体
---
## Description
<section id="description">给定三维空间中的两个点x1y1z1x2y2z2这些点之间的曼哈顿距离定义为| x1-x2 | + | y1-y2 | + | z1-z2 |。 <p>令Cr为半径为r且在原点O0,0,0中心的球体。设Ir是Cr表面上具有整数坐标的所有点的集合。设Sr是Ir的所有元素与原点O的曼哈顿距离之和。 </p><p>例如S45= 34518。 </p><p>找到S1010</p></section>
# --description--
## Instructions
<section id="instructions">
</section>
给定三维空间中的两个点x1y1z1x2y2z2这些点之间的曼哈顿距离定义为| x1-x2 | + | y1-y2 | + | z1-z2 |。
## Tests
<section id='tests'>
令Cr为半径为r且在原点O0,0,0中心的球体。设Ir是Cr表面上具有整数坐标的所有点的集合。设Sr是Ir的所有元素与原点O的曼哈顿距离之和。
```yml
tests:
- text: <code>euler360()</code>应该返回878825614395267100。
testString: assert.strictEqual(euler360(), 878825614395267100);
例如S45= 34518。
```
找到S1010
</section>
# --hints--
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
`euler360()`应该返回878825614395267100。
```js
function euler360() {
// Good luck!
return true;
}
euler360();
assert.strictEqual(euler360(), 878825614395267100);
```
</div>
# --solutions--
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>