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
1.3 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: 5900f4891000cf542c50ff9b
title: 问题284平稳正方形
challengeType: 5
videoUrl: ''
dashedName: problem-284-steady-squares
---
# --description--
十进制编号系统中的3位数字376是具有特殊属性的数字的示例该属性的平方以相同的数字结尾3762 =141376。让我们将具有此属性的数字称为稳定平方。
在其他编号系统中也可以看到稳定的正方形。 在基数14的编号系统中三位数c37也是一个稳定的正方形c372 = aa0c37并且在同一编号系统中其位数之和为c + 3 + 7 = 18。 字母abc和d以类似于十六进制编号系统的方式分别用于10、11、12和13位数字。
对于1≤n≤9在基数14的编号系统中所有n位稳定正方形的位总和为2d8十进制582。 不允许以0开头的稳定正方形。
在基数为14的编号系统中找到所有n位稳定正方形的位总和 1≤n≤10000十进制并在基数为14的系统中根据需要使用小写字母给出答案。
# --hints--
`euler284()`应该返回5a411d7b。
```js
assert.strictEqual(euler284(), '5a411d7b');
```
# --seed--
## --seed-contents--
```js
function euler284() {
return true;
}
euler284();
```
# --solutions--
```js
// solution required
```