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,67 +1,27 @@
---
id: 5900f4a11000cf542c50ffb4
title: 问题309整数阶梯
challengeType: 5
videoUrl: ''
title: 问题309整数阶梯
---
## Description
<section id="description">
# --description--
在经典的“穿越梯子”问题中我们得到了两个梯子的长度x和y它们位于一条狭窄的水平街道的相对壁上。 我们还给出了两个梯子交叉的街道上方的高度h并要求我们找到街道的宽度w
在这里,我们仅关注所有四个变量均为正整数的实例。 例如如果x = 70y = 119h = 30我们可以计算出w = 56。
实际上对于xyh和0 &lt;x &lt;y &lt;200的整数只有五个三元组xyh产生w的整数解 70、119、3074、182、2187、105、35100、116、35119、175、40
在这里,我们仅关注所有四个变量均为正整数的实例。
例如如果x = 70y = 119h = 30我们可以计算出w = 56。
对于整数值xyh和0 &lt;x &lt;y &lt;1 000 000有多少个三元组xyh产生w的整数解
实际上对于xyh和0 <x <y <200的整数只有五个三元组xyh产生w的整数解
7011930741822187105351001163511917540)。
# --hints--
对于整数值xyh和0 <x <y <1 000 000有多少个三元组xyh产生w的整数解
</section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler309()</code>应该返回210139。
testString: assert.strictEqual(euler309(), 210139);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
`euler309()`应该返回210139。
```js
function euler309() {
// Good luck!
return true;
}
euler309();
assert.strictEqual(euler309(), 210139);
```
</div>
# --solutions--
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>