* 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>
41 lines
656 B
Markdown
41 lines
656 B
Markdown
---
|
||
id: 5900f4551000cf542c50ff68
|
||
title: 问题233:圆上的格点
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-233-lattice-points-on-a-circle
|
||
---
|
||
|
||
# --description--
|
||
|
||
令f(N)是在通过(0,0),(N,0),(0,N)和(N,N)的圆上具有整数坐标的点的数量。可以证明f(10000)= 36。
|
||
|
||
所有正整数N≤1011的总和是多少,f(N)= 420?
|
||
|
||
# --hints--
|
||
|
||
`euler233()`应该返回271204031455541300。
|
||
|
||
```js
|
||
assert.strictEqual(euler233(), 271204031455541300);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler233() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler233();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|