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

41 lines
777 B
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
title: 问题324建造一座塔楼
challengeType: 5
videoUrl: ''
dashedName: problem-324-building-a-tower
---
# --description--
设fn表示用2×1×1的块填充3×3×n塔的方式的数量。你可以以任何你喜欢的方式旋转块;然而塔本身的旋转反射等被视为不同的。例如q = 100000007f2= 229f4= 117805f10mod q = 96149360f103mod q = 24806056f106mod q = 30808124。
求f1010000mod 100000007。
# --hints--
`euler324()`应该返回96972774。
```js
assert.strictEqual(euler324(), 96972774);
```
# --seed--
## --seed-contents--
```js
function euler324() {
return true;
}
euler324();
```
# --solutions--
```js
// solution required
```