Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-313-sliding-game.md
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
948 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: 5900f4a61000cf542c50ffb8
title: 问题313滑行游戏
challengeType: 5
videoUrl: ''
dashedName: problem-313-sliding-game
---
# --description--
在滑动游戏中,柜台可以水平或垂直滑入一个空白区域。 游戏的目的是将红色计数器从网格的左上角移至右下角。 该空间始终始于右下角。 例如以下图片序列显示了如何在2 x 2网格上进行5次移动才能完成游戏。
令Smn代表完成游戏的最小移动次数。 例如可以验证S5.4= 25。
正好有5482个网格其中Smn= p2其中p &lt;100是质数。
Smn= p2有多少个网格其中p &lt;106是素数
# --hints--
`euler313()`应该返回2057774861813004。
```js
assert.strictEqual(euler313(), 2057774861813004);
```
# --seed--
## --seed-contents--
```js
function euler313() {
return true;
}
euler313();
```
# --solutions--
```js
// solution required
```