Files
freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-276-primitive-triangles.chinese.md
Kristofer Koishigawa b3213fc892 fix(i18n): chinese test suite (#38220)
* fix: Chinese test suite

Add localeTiltes, descriptions, and adjust test text and testStrings to get the automated test suite working.

* fix: ran script, updated testStrings and solutions
2020-03-03 18:49:47 +05:30

924 B
Raw Blame History

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f4801000cf542c50ff93 5 Problem 276: Primitive Triangles 问题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