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

691 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f3d91000cf542c50feeb 问题108丢番图互惠I 5 problem-108-diophantine-reciprocals-i

--description--

在下面的等式中xy和n是正整数。 1 / x + 1 / y = 1 / n对于n = 4恰好有三种不同的解1/5 + 1/20 = 1/4
1/6 + 1/12 = 1/4
1/8 + 1/8 = 1/4不同解的数量超过一千的n的最小值是多少?

--hints--

diophantineOne diophantineOne()应返回180180。

assert.strictEqual(diophantineOne(), 180180);

--seed--

--seed-contents--

function diophantineOne() {

  return true;
}

diophantineOne();

--solutions--

// solution required