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,31 @@
---
id: 5900f4761000cf542c50ff88
title: 问题265二进制圆圈
challengeType: 5
videoUrl: ''
title: 问题265二进制圆圈
---
## Description
<section id="description"> 2N二进制数字可以放在一个圆圈中这样所有N位顺时针子序列都是不同的。 <p>对于N = 3两个这样的圆形布置是可能的忽略旋转 </p><p>对于第一种布置顺时针顺序的3位子序列是000,001,010,101,011,111,110和100。 </p><p>通过将以全零的子序列开始的二进制数字连接为最高有效位并顺时针进行可以将每个循环排列编码为数字。因此N = 3的两种排列表示为23和2900010111 2 = 23 00011101 2 = 29 </p><p>调用SN唯一数值表示的总和我们可以看到S3= 23 + 29 = 52。 </p><p>找到S5</p></section>
# --description--
## Instructions
<section id="instructions">
</section>
2N二进制数字可以放在一个圆圈中这样所有N位顺时针子序列都是不同的。
## Tests
<section id='tests'>
对于N = 3两个这样的圆形布置是可能的忽略旋转
```yml
tests:
- text: <code>euler265()</code>应该返回209110240768。
testString: assert.strictEqual(euler265(), 209110240768);
对于第一种布置顺时针顺序的3位子序列是000,001,010,101,011,111,110和100。
```
通过将以全零的子序列开始的二进制数字连接为最高有效位并顺时针进行可以将每个循环排列编码为数字。因此N = 3的两种排列表示为23和2900010111 2 = 23 00011101 2 = 29
</section>
调用SN唯一数值表示的总和我们可以看到S3= 23 + 29 = 52。
## Challenge Seed
<section id='challengeSeed'>
找到S5
<div id='js-seed'>
# --hints--
`euler265()`应该返回209110240768。
```js
function euler265() {
// Good luck!
return true;
}
euler265();
assert.strictEqual(euler265(), 209110240768);
```
</div>
# --solutions--
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>