Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-270-cutting-squares.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

41 lines
997 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: 5900f47c1000cf542c50ff8e
title: 问题270切割方块
challengeType: 5
videoUrl: ''
dashedName: problem-270-cutting-squares
---
# --description--
放置具有整数尺寸N×N的正方形纸在原点处具有拐角并且沿x轴和y轴具有两个侧面。然后我们按照以下规则进行切割我们只在位于正方形不同侧面的两个点之间进行直线切割并且具有整数坐标。两个切口不能交叉但是几个切口可以在相同的边界点处相遇。继续进行直到不再进行合法削减。将任何反射或旋转计数为不同我们将CN称为切割N×N平方的方式的数量。例如C1= 2且C2= 30如下所示
什么是C30mod 108
# --hints--
`euler270()`应该返回82282080。
```js
assert.strictEqual(euler270(), 82282080);
```
# --seed--
## --seed-contents--
```js
function euler270() {
return true;
}
euler270();
```
# --solutions--
```js
// solution required
```