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

41 lines
815 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: 5900f47e1000cf542c50ff90
title: 问题273正方形的总和
challengeType: 5
videoUrl: ''
dashedName: problem-273-sum-of-squares
---
# --description--
考虑以下形式的方程a2 + b2 = N0≤a≤bab和N整数。
对于N = 65有两种解决方案a = 1b = 8a = 4b = 7。我们将SN称为a2 + b2 = N0≤a≤bab和N整数的所有解的a的值之和。因此S65= 1 + 4 = 5.找到ΣSN对于所有无平均N只能被4k + 1形式的素数整除其中4k + 1 &lt;150。
# --hints--
`euler273()`应该返回2032447591196869000。
```js
assert.strictEqual(euler273(), 2032447591196869000);
```
# --seed--
## --seed-contents--
```js
function euler273() {
return true;
}
euler273();
```
# --solutions--
```js
// solution required
```