freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-171-finding-numbers-for-which-the-sum-of-the-squares-of-the-digits-is-a-square.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

40 lines
793 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: 5900f4181000cf542c50ff2a
title: 问题171找到数字的平方和为正方形的数字
challengeType: 5
videoUrl: ''
dashedName: >-
problem-171-finding-numbers-for-which-the-sum-of-the-squares-of-the-digits-is-a-square
---
# --description--
对于正整数n令fn为n的数字在基数10中的平方和例如f3= 32 = 9f25= 22 + 52 = 4 + 25 = 29f442= 42 + 42 + 22 = 16 + 16 + 4 = 36找到所有n的总和的最后九位数0 &lt;n &lt;1020使得fn是一个完美的平方。
# --hints--
`euler171()`应该返回142989277。
```js
assert.strictEqual(euler171(), 142989277);
```
# --seed--
## --seed-contents--
```js
function euler171() {
return true;
}
euler171();
```
# --solutions--
```js
// solution required
```