Files
freeCodeCamp/curriculum/challenges/japanese/10-coding-interview-prep/project-euler/problem-223-almost-right-angled-triangles-i.md
2022-01-20 20:30:18 +01:00

865 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f44b1000cf542c50ff5e 問題 223: ほぼ直角三角形 (1) 5 301866 problem-223-almost-right-angled-triangles-i

--description--

3 辺 (a ≤ b ≤ c) の長さがすべて整数である三角形について、3 辺が a^2 + b^2 = c^2 + 1 を満たすものを「わずかに鋭角の三角形」と呼ぶことにします。

周長が 25\\,000\\,000 以下の「わずかに鋭角な三角形」はいくつありますか。

--hints--

almostRightAngledTrianglesOne()61614848 を返す必要があります。

assert.strictEqual(almostRightAngledTrianglesOne(), 61614848);

--seed--

--seed-contents--

function almostRightAngledTrianglesOne() {

  return true;
}

almostRightAngledTrianglesOne();

--solutions--

// solution required