Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-233-lattice-points-on-a-circle.md
Oliver Eyton-Williams dec409a4bd fix: s/localeTitle/title/g
2020-10-06 23:10:08 +05:30

878 B
Raw Blame History

id, challengeType, videoUrl, title
id challengeType videoUrl title
5900f4551000cf542c50ff68 5 问题233圆上的格点

Description

令fN是在通过0,0N00NNN的圆上具有整数坐标的点的数量。可以证明f10000= 36。

所有正整数N≤1011的总和是多少fN= 420

Instructions

Tests

tests:
  - text: <code>euler233()</code>应该返回271204031455541300。
    testString: assert.strictEqual(euler233(), 271204031455541300);

Challenge Seed

function euler233() {
  // Good luck!
  return true;
}

euler233();

Solution

// solution required

/section>