chore(learn): Applied MDX format to Chinese curriculum files (#40462)
This commit is contained in:
@ -1,55 +1,27 @@
|
||||
---
|
||||
id: 5900f40d1000cf542c50ff20
|
||||
title: 问题161:Triominoes
|
||||
challengeType: 5
|
||||
videoUrl: ''
|
||||
title: 问题161:Triominoes
|
||||
---
|
||||
|
||||
## Description
|
||||
<section id="description">三角形是由三个通过边缘连接的正方形组成的形状。有两种基本形式: <p>如果考虑所有可能的方向,则有六个: </p><p>任何n×m网格的nxm可以被3整除,可以用三角形平铺。如果我们考虑通过反射或从另一个平铺旋转获得的倾斜不同,有41种方式可以使用三角形平铺2乘9的网格: </p><p>有多少种方式可以通过三角形以这种方式平铺9乘12的网格? </p></section>
|
||||
# --description--
|
||||
|
||||
## Instructions
|
||||
<section id="instructions">
|
||||
</section>
|
||||
三角形是由三个通过边缘连接的正方形组成的形状。有两种基本形式:
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
如果考虑所有可能的方向,则有六个:
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: <code>euler161()</code>应该返回20574308184277972。
|
||||
testString: assert.strictEqual(euler161(), 20574308184277972);
|
||||
任何n×m网格的nxm可以被3整除,可以用三角形平铺。如果我们考虑通过反射或从另一个平铺旋转获得的倾斜不同,有41种方式可以使用三角形平铺2乘9的网格:
|
||||
|
||||
```
|
||||
有多少种方式可以通过三角形以这种方式平铺9乘12的网格?
|
||||
|
||||
</section>
|
||||
# --hints--
|
||||
|
||||
## Challenge Seed
|
||||
<section id='challengeSeed'>
|
||||
|
||||
<div id='js-seed'>
|
||||
`euler161()`应该返回20574308184277972。
|
||||
|
||||
```js
|
||||
function euler161() {
|
||||
// Good luck!
|
||||
return true;
|
||||
}
|
||||
|
||||
euler161();
|
||||
|
||||
assert.strictEqual(euler161(), 20574308184277972);
|
||||
```
|
||||
|
||||
</div>
|
||||
# --solutions--
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
// solution required
|
||||
```
|
||||
|
||||
/section>
|
||||
|
Reference in New Issue
Block a user