Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-273-sum-of-squares.chinese.md
Oliver Eyton-Williams 61460c8601 fix: insert blank line after ```
search and replace ```\n< with ```\n\n< to ensure there's an empty line
before closing tags
2020-08-16 04:45:20 +05:30

57 lines
1.1 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: 5900f47e1000cf542c50ff90
challengeType: 5
title: 'Problem 273: Sum of Squares'
videoUrl: ''
localeTitle: 问题273正方形的总和
---
## Description
<section id="description">考虑以下形式的方程a2 + b2 = N0≤a≤bab和N整数。 <p>对于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。 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler273()</code>应该返回2032447591196869000。
testString: assert.strictEqual(euler273(), 2032447591196869000);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler273() {
// Good luck!
return true;
}
euler273();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>