* 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>
917 B
917 B
id, title, challengeType, videoUrl, dashedName
id | title | challengeType | videoUrl | dashedName |
---|---|---|---|---|
5900f4861000cf542c50ff98 | 问题281:比萨馅料 | 5 | problem-281-pizza-toppings |
--description--
您将得到一个比萨饼(完美的圆),该比萨饼已被切成等份的m·n,并且您想在每个切片上精确地放一个馅料。
令f(m,n)表示在披萨上放置m种不同配料(m≥2)的方法,将每个配料恰好放在n个切片上(n≥1)。 反射被认为是不同的,旋转没有。
因此,例如,f(2,1)= 1,f(2,2)= f(3,1)= 2和f(3,2)= 16.f(3,2)如下所示:
找出所有f(m,n)的总和,使f(m,n)≤1015。
--hints--
euler281()
应该返回1485776387445623。
assert.strictEqual(euler281(), 1485776387445623);
--seed--
--seed-contents--
function euler281() {
return true;
}
euler281();
--solutions--
// solution required