789 B
789 B
id, title, challengeType, forumTopicId, dashedName
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
5900f44b1000cf542c50ff5e | Problema 223: Triângulos quase retos I | 5 | 301866 | problem-223-almost-right-angled-triangles-i |
--description--
Chamaremos um triângulo de comprimento dos lados expresso em números inteiros, com os lados a ≤ b ≤ c
, de quase agudos se os lados satisfizerem a^2 + b^2 = c^2 + 1
.
Quantos triângulos quase agudos existem com o perímetro ≤ 25.000.000
?
--hints--
almostRightAngledTrianglesOne()
deve retornar 61614848
.
assert.strictEqual(almostRightAngledTrianglesOne(), 61614848);
--seed--
--seed-contents--
function almostRightAngledTrianglesOne() {
return true;
}
almostRightAngledTrianglesOne();
--solutions--
// solution required