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

39 lines
1.5 KiB
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: 5900f54c1000cf542c51005f
title: 问题480最后一个问题
challengeType: 5
videoUrl: ''
dashedName: problem-480-the-last-question
---
# --description--
考虑所有可以通过从短语中选择任何顺序的字母形成的单词thereisasyetinsufficientdataforameaningfulanswer假设15个字母或更少的字母按字母顺序列出并从1开始按顺序编号。列表包括1a 2 aa 3aaa 4aaaa 5aaaaa 6aaaaaa 7aaaaaac 8aaaaaacd 9aaaaaacde 10aaaaaacdee 11aaaaaacdeee 12aaaaaacdeeee 13aaaaaacdeeeee 14aaaaaacdeeeeee 15aaaaaacdeeeeeef 16aaaaaacdeeeeeeee 17aaaaaacdeeeeeee 17aaaaaacdeeeeeeh ... 28 aaaaaacdeeeeeey 29aaaaaacdeeeeef 30aaaaaacdeeeeefe ... 115246685191495242euleoywuttttsss 115246685191495243euler 115246685191495244eulera ... 525069350231428029ywuuttttssssrrrDefine Pw作为单词w的位置。将Wp定义为位置p中的单词。我们可以看到Pw和Wp是逆的PWp= p和WPw= w。示例W10= aaaaaacdee Paaaaaacdee= 10 W115246685191495243= euler Peuler= 115246685191495243找到WP军团+ P量热计 - P歼灭+ P精心策划 - P飘飘。使用小写字符没有标点符号或空格给出答案。
# --hints--
`euler480()`应该返回turnthestarson。
```js
assert.strictEqual(euler480(), turnthestarson);
```
# --seed--
## --seed-contents--
```js
function euler480() {
return true;
}
euler480();
```
# --solutions--
```js
// solution required
```