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

41 lines
1.2 KiB
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: 5900f40f1000cf542c50ff22
title: 问题163阴影线三角形
challengeType: 5
videoUrl: ''
dashedName: problem-163-cross-hatched-triangles
---
# --description--
考虑等边三角形其中从每个顶点到相对侧的中间绘制直线例如在下面草图中的1号三角形中。
现在可以在该三角形中观察到具有不同形状或大小或方向或位置的十六个三角形。使用大小为1的三角形作为构建块可以形成更大的三角形例如上面草图中的大小为2的三角形。现在可以在该尺寸2三角形中观察到具有不同形状或尺寸或方向或位置的一百四十个三角形。可以观察到2号三角形包含4个1号三角形构造块。大小为3的三角形将包含9个大小为1的三角形构建块因此大小为n的三角形将包含n2个大小为1的三角形构建块。如果我们将Tn表示为大小为n的三角形中存在的三角形的数量则T1= 16 T2= 104 Find T36
# --hints--
`euler163()`应返回343047。
```js
assert.strictEqual(euler163(), 343047);
```
# --seed--
## --seed-contents--
```js
function euler163() {
return true;
}
euler163();
```
# --solutions--
```js
// solution required
```