freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-233-lattice-points-...

56 lines
996 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f4551000cf542c50ff68
challengeType: 5
title: 'Problem 233: Lattice points on a circle'
videoUrl: ''
localeTitle: 问题233圆上的格点
---
## Description
<section id="description">令fN是在通过0,0N00NNN的圆上具有整数坐标的点的数量。可以证明f10000= 36。 <p>所有正整数N≤1011的总和是多少fN= 420 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler233()</code>应该返回271204031455541300。
testString: 'assert.strictEqual(euler233(), 271204031455541300, "<code>euler233()</code> should return 271204031455541300.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler233() {
// Good luck!
return true;
}
euler233();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>