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

984 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f4371000cf542c50ff49 问题202Laserbeam 5 problem-202-laserbeam

--description--

三个镜子以等边三角形的形状排列,其反射表面指向内侧。在三角形的每个顶点处存在无穷小的间隙,激光束可以通过该间隙。

标记顶点AB和C.有两种方式可以使激光束进入顶点C从11个表面反弹然后通过相同的顶点退出下面显示了一种方式;另一方面与此相反。

有80840种方式激光束可以进入顶点C从1000001表面反弹然后通过相同的顶点退出。

激光束在顶点C进入的方式有多少从12017639147表面反弹然后通过相同的顶点退出

--hints--

euler202()应返回1209002624。

assert.strictEqual(euler202(), 1209002624);

--seed--

--seed-contents--

function euler202() {

  return true;
}

euler202();

--solutions--

// solution required