Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-161-triominoes.md
Oliver Eyton-Williams ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00

45 lines
856 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: 5900f40d1000cf542c50ff20
title: 问题161Triominoes
challengeType: 5
videoUrl: ''
dashedName: problem-161-triominoes
---
# --description--
三角形是由三个通过边缘连接的正方形组成的形状。有两种基本形式:
如果考虑所有可能的方向,则有六个:
任何n×m网格的nxm可以被3整除可以用三角形平铺。如果我们考虑通过反射或从另一个平铺旋转获得的倾斜不同有41种方式可以使用三角形平铺2乘9的网格
有多少种方式可以通过三角形以这种方式平铺9乘12的网格
# --hints--
`euler161()`应该返回20574308184277972。
```js
assert.strictEqual(euler161(), 20574308184277972);
```
# --seed--
## --seed-contents--
```js
function euler161() {
return true;
}
euler161();
```
# --solutions--
```js
// solution required
```