freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-324-building-a-towe...

56 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: 5900f4b11000cf542c50ffc3
challengeType: 5
title: 'Problem 324: Building a tower'
videoUrl: ''
localeTitle: 问题324建造一座塔楼
---
## Description
<section id="description">设fn表示用2×1×1的块填充3×3×n塔的方式的数量。你可以以任何你喜欢的方式旋转块;然而塔本身的旋转反射等被视为不同的。例如q = 100000007f2= 229f4= 117805f10mod q = 96149360f103mod q = 24806056f106mod q = 30808124。 <p>求f1010000mod 100000007。 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler324()</code>应该返回96972774。
testString: 'assert.strictEqual(euler324(), 96972774, "<code>euler324()</code> should return 96972774.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler324() {
// Good luck!
return true;
}
euler324();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>