Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-289-eulerian-cycles.md
Oliver Eyton-Williams dec409a4bd fix: s/localeTitle/title/g
2020-10-06 23:10:08 +05:30

72 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f48d1000cf542c50ffa0
challengeType: 5
videoUrl: ''
title: 问题289欧拉循环
---
## Description
<section id="description">
令Cxy为穿过点xyxy + 1x + 1yx + 1y + 1的圆。
对于正整数m和n令Emn为由m·n个圆组成的配置
{Cxy0≤x <m0y <nx和y是整数}
Emn上的欧拉循环是一条闭合路径它恰好通过每个圆弧一次
Emn上可能有许多这样的路径但是我们只对那些不会自交叉的路径感兴趣
非相交路径仅在格点处触碰自身但从未相交
下图显示了E3,3和一个欧拉非交叉路径的示例
令Lmn为Emn上的欧拉非交叉路径数
例如L1,2= 2L2,2= 37L3,3= 104290
找出L6,10mod 1010
</section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler289()</code>应该返回6567944538。
testString: assert.strictEqual(euler289(), 6567944538);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler289() {
// Good luck!
return true;
}
euler289();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>