freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-380-amazing-mazes.md

56 lines
1.3 KiB
Markdown
Raw Normal View History

---
id: 5900f4e81000cf542c50fffb
challengeType: 5
videoUrl: ''
localeTitle: 问题380惊人的迷宫
---
## Description
<section id="description"> m×n迷宫是m×n矩形网格其中墙壁放置在网格单元之间使得从左上角正方形到任何其他正方形恰好有一条路径。以下是9×12迷宫和15×20迷宫的示例 <p>设Cmn为不同m×n个迷宫的数量。可以通过来自另一个迷宫的旋转和反射形成的迷宫被认为是不同的。 </p><p>可以证实C1,1= 1C2,2= 4C3,4= 2415C9,12= 2.5720e46科学计数法四舍五入为5显着位。找到C100,500并用科学计数法将你的答案写成五位有效数字。 </p><p>在给出答案时使用小写e来分隔尾数和指数。例如如果答案是1234567891011则答案格式为1.2346e12。 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler380()</code>应该返回Infinity。
testString: assert.strictEqual(euler380(), Infinity);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler380() {
// Good luck!
return true;
}
euler380();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>