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,33 @@
---
id: 5900f4b71000cf542c50ffca
title: 问题331交叉翻转
challengeType: 5
videoUrl: ''
title: 问题331交叉翻转
---
## Description
<section id="description"> N×N个盘放在方形游戏板上。每个磁盘都有黑色和白色。 <p>在每个回合中您可以选择一个磁盘并翻转与该磁盘相同的行和同一列中的所有磁盘因此翻转2×N-1个磁盘。当所有磁盘显示其白色边时游戏结束。以下示例显示了5×5板上的游戏。 </p><p>可以证明3是完成这个游戏的最小转弯次数。 </p><p> N×N板上的左下盘具有坐标0,0;右下盘具有坐标N-1,0左上盘具有坐标0N-1</p><p> CN为具有N×N个盘的板的以下配置xy处的盘满足表示其黑色侧;否则,它显示其白色的一面。 C5如上所示。 </p><p>设TN是从配置CN开始完成游戏的最小圈数如果配置CN不可解则为0。我们已经证明T5= 3。你还得到T10= 29和T1 000= 395253。 </p><p>找 。 </p></section>
# --description--
## Instructions
<section id="instructions">
</section>
N×N个盘放在方形游戏板上。每个磁盘都有黑色和白色。
## Tests
<section id='tests'>
在每个回合中您可以选择一个磁盘并翻转与该磁盘相同的行和同一列中的所有磁盘因此翻转2×N-1个磁盘。当所有磁盘显示其白色边时游戏结束。以下示例显示了5×5板上的游戏。
```yml
tests:
- text: <code>euler331()</code>应该返回467178235146843500。
testString: assert.strictEqual(euler331(), 467178235146843500);
可以证明3是完成这个游戏的最小转弯次数。
```
N×N板上的左下盘具有坐标0,0;右下盘具有坐标N-1,0左上盘具有坐标0N-1
</section>
CN为具有N×N个盘的板的以下配置xy处的盘满足表示其黑色侧;否则,它显示其白色的一面。 C5如上所示。
## Challenge Seed
<section id='challengeSeed'>
设TN是从配置CN开始完成游戏的最小圈数如果配置CN不可解则为0。我们已经证明T5= 3。你还得到T10= 29和T1 000= 395253。
<div id='js-seed'>
找 。
# --hints--
`euler331()`应该返回467178235146843500。
```js
function euler331() {
// Good luck!
return true;
}
euler331();
assert.strictEqual(euler331(), 467178235146843500);
```
</div>
# --solutions--
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>