Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-276-primitive-triangles.md
Oliver Eyton-Williams dec409a4bd fix: s/localeTitle/title/g
2020-10-06 23:10:08 +05:30

876 B
Raw Blame History

id, challengeType, videoUrl, title
id challengeType videoUrl title
5900f4801000cf542c50ff93 5 问题276原始三角形

Description

考虑具有整数边ab和c的三角形其中a≤b≤c。如果gcdabc= 1则整数边三角形abc称为基元。存在多少个原始整数边三角形周长不超过10 000 000

Instructions

Tests

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

Challenge Seed

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

euler276();

Solution

// solution required

/section>