freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-218-perfect-right-angled-triangles.md
Oliver Eyton-Williams ee1e8abd87
feat(curriculum): restore seed + solution to Chinese (#40683)
* 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>
2021-01-12 19:31:00 -07:00

1008 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f4461000cf542c50ff59 问题218完美的直角三角形 5 problem-218-perfect-right-angled-triangles

--description--

考虑具有边a = 7b = 24和c = 25的直角三角形。这个三角形的面积是84可以被完美的数字6和28整除。而且它是一个原始的直角三角形因为gcdab= 1gcdbc= 1。 c也是一个完美的正方形。

如果-it是一个原始的直角三角形我们将称为直角三角形完美 - 斜边是一个完美的正方形

如果-it是一个完美的直角三角形我们将称为直角三角形超完美并且 - 区域是完美数字6和28的倍数。

有多少c≤1016的完美直角三角形不是非常完美的

--hints--

euler218()应该返回0。

assert.strictEqual(euler218(), 0);

--seed--

--seed-contents--

function euler218() {

  return true;
}

euler218();

--solutions--

// solution required