freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-174-counting-the-number-of-hollow-square-laminae-that-can-form-one-two-three-...-distinct-arrangements.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

1.1 KiB
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f41a1000cf542c50ff2d 问题174计算可以形成一个两个三个......不同排列的“空心”方形薄片的数量 5 problem-174-counting-the-number-of-hollow-square-laminae-that-can-form-one-two-three-----distinct-arrangements

--description--

我们将方形薄片定义为具有方形“孔”的方形轮廓使得该形状具有垂直和水平对称性。给定八个瓷砖可以仅以一种方式形成薄层3x3正方形中间有1x1个孔。但是使用32个瓷砖可以形成两个不同的薄片。

如果t表示使用的瓦片数我们将说t = 8是类型L1并且t = 32是类型L2。令Nn为t≤1000000的数使得t为Ln型;例如N15= 832.对于1≤n≤10ΣNn是多少

--hints--

euler174()应该返回209566。

assert.strictEqual(euler174(), 209566);

--seed--

--seed-contents--

function euler174() {

  return true;
}

euler174();

--solutions--

// solution required