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

864 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f44e1000cf542c50ff5f 問題 224: ほぼ直角三角形 (2) 5 301867 problem-224-almost-right-angled-triangles-ii

--description--

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

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

--hints--

almostRightAngledTrianglesTwo()4137330 を返す必要があります。

assert.strictEqual(almostRightAngledTrianglesTwo(), 4137330);

--seed--

--seed-contents--

function almostRightAngledTrianglesTwo() {

  return true;
}

almostRightAngledTrianglesTwo();

--solutions--

// solution required