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

24 lines
607 B
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: 5900f4b11000cf542c50ffc3
title: 问题324建造一座塔楼
challengeType: 5
videoUrl: ''
---
# --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);
```
# --solutions--