Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-139-pythagorean-tiles.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

970 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f3f71000cf542c50ff0a 问题139毕达哥拉斯瓷砖 5 problem-139-pythagorean-tiles

--description--

abc表示具有整数长边的直角三角形的三个边。可以将四个这样的三角形放在一起以形成长度为c的正方形。例如3,4,5三角形可以放在一起形成一个5乘5的正方形中间有一个1个洞可以看到5乘5的正方形可以用二十五个平铺1个方格。

但是如果使用5,12,13三角形则孔将按7乘7测量并且这些不能用于平铺13乘13平方。鉴于直角三角形的周长小于一亿有多少毕达哥拉斯三角形允许这样的平铺

--hints--

euler139()应该返回10057761。

assert.strictEqual(euler139(), 10057761);

--seed--

--seed-contents--

function euler139() {

  return true;
}

euler139();

--solutions--

// solution required