freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-281-pizza-toppings.md

66 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f4861000cf542c50ff98
challengeType: 5
videoUrl: ''
title: 问题281比萨馅料
---
## Description
<section id="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。
</section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler281()</code>应该返回1485776387445623。
testString: assert.strictEqual(euler281(), 1485776387445623);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler281() {
// Good luck!
return true;
}
euler281();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>