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

567 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f46e1000cf542c50ff81 问题258滞后的斐波那契序列 5 problem-258-a-lagged-fibonacci-sequence

--description--

序列定义为:

gk = 1对于0≤k≤1999gk = gk-2000 + gk-1999对于k≥2000。对于k = 1018找到gk mod 20092010。

--hints--

euler258()应该返回12747994。

assert.strictEqual(euler258(), 12747994);

--seed--

--seed-contents--

function euler258() {

  return true;
}

euler258();

--solutions--

// solution required