Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-405-a-rectangular-tiling.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

859 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f5021000cf542c510014 问题405矩形平铺 5 problem-405-a-rectangular-tiling

--description--

我们希望平铺一个长度是其宽度两倍的矩形。设T0为由单个矩形组成的平铺。对于n> 0通过以下列方式替换所有瓦片从Tn-1获得Tn

以下动画演示了从0到5的n的倾斜Tn

设fn是四个瓦片在Tn中相交的点数。例如f1= 0f4= 82并且f109mod 177 = 126897180。

找到f10k为k = 1018给出你的答案模数为177。

--hints--

euler405()应返回237696125。

assert.strictEqual(euler405(), 237696125);

--seed--

--seed-contents--

function euler405() {

  return true;
}

euler405();

--solutions--

// solution required