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

917 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f4861000cf542c50ff98 问题281比萨馅料 5 problem-281-pizza-toppings

--description--

您将得到一个比萨饼完美的圆该比萨饼已被切成等份的m·n并且您想在每个切片上精确地放一个馅料。

令fmn表示在披萨上放置m种不同配料m≥2的方法将每个配料恰好放在n个切片上n≥1。 反射被认为是不同的,旋转没有。

因此例如f2,1= 1f2,2= f3,1= 2和f3,2= 16.f3,2如下所示

找出所有fmn的总和使fmn≤1015。

--hints--

euler281()应该返回1485776387445623。

assert.strictEqual(euler281(), 1485776387445623);

--seed--

--seed-contents--

function euler281() {

  return true;
}

euler281();

--solutions--

// solution required