Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-312-cyclic-paths-on-sierpiski-graphs.md
Oliver Eyton-Williams dec409a4bd fix: s/localeTitle/title/g
2020-10-06 23:10:08 +05:30

76 lines
1.1 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: 5900f4a51000cf542c50ffb7
challengeType: 5
videoUrl: ''
title: 问题312Sierpiński图上的循环路径
---
## Description
<section id="description">
-1阶S1的Sierpiński图是等边三角形。
-通过将Sn的三个副本放置在Sn上从而使每对副本都有一个公共角从而从Sn中获得Sn +1。
令Cn为恰好一次通过Sn的所有顶点的循环数。
例如C3= 8因为可以在S3上绘制八个这样的循环如下所示
也可以验证:
C1= C2= 1
C5= 71328803586048
C10,000mod 108 = 37652224
C10,000模138 = 617720485
求CCC10,000mod 138。
</section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler312()</code>应该返回324681947。
testString: assert.strictEqual(euler312(), 324681947);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler312() {
// Good luck!
return true;
}
euler312();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>