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
825 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: 5900f4461000cf542c50ff58
title: 问题217平衡数字
challengeType: 5
videoUrl: ''
dashedName: problem-217-balanced-numbers
---
# --description--
具有k十进制数字的正整数称为平衡如果其第一个⌈k/2⌉数字总和为与其最后的⌈k/2⌉数字相同的值其中⌈x⌉x的发音上限是最小整数≥x因此⌈π⌉= 4且⌈5⌉= 5.因此例如所有回文都是平衡的如13722.设Tn是所有平衡数小于10n的总和。因此T1= 45T2= 540T5= 334795890.求T47mod 315
# --hints--
`euler217()`应该返回6273134。
```js
assert.strictEqual(euler217(), 6273134);
```
# --seed--
## --seed-contents--
```js
function euler217() {
return true;
}
euler217();
```
# --solutions--
```js
// solution required
```