56 lines
1.2 KiB
Markdown
56 lines
1.2 KiB
Markdown
---
|
||
id: 5900f4b11000cf542c50ffc3
|
||
challengeType: 5
|
||
title: 'Problem 324: Building a tower'
|
||
videoUrl: ''
|
||
localeTitle: 'Problema 324: Construyendo una torre'
|
||
---
|
||
|
||
## Description
|
||
<section id="description"> Sea f (n) la cantidad de formas en que se puede llenar una torre de 3 × 3 × n con bloques de 2 × 1 × 1. Puedes girar los bloques de la forma que quieras; sin embargo, las rotaciones, reflexiones, etc. de la torre en sí se cuentan como distintas. Por ejemplo (con q = 100000007): f (2) = 229, f (4) = 117805, f (10) mod q = 96149360, f (103) mod q = 24806056, f (106) mod q = 30808124. <p> Encuentra f (1010000) mod 100000007. </p></section>
|
||
|
||
## Instructions
|
||
<section id="instructions">
|
||
</section>
|
||
|
||
## Tests
|
||
<section id='tests'>
|
||
|
||
```yml
|
||
tests:
|
||
- text: <code>euler324()</code> debe devolver 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>
|