freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-177-integer-angled-quadrilaterals.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
1.1 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: 5900f41e1000cf542c50ff30
title: 问题177整数角四边形
challengeType: 5
videoUrl: ''
dashedName: problem-177-integer-angled-quadrilaterals
---
# --description--
设ABCD为凸四边形对角线为AC和BD。在每个顶点处对角线与两侧中的每一侧形成一个角度从而产生八个角度角。
例如在顶点A处两个角度是CADCAB。我们称之为四边形当以“整角四边形”度数度量时所有八个角度角都具有整数值。整数角度四边形的示例是正方形其中所有八个角度角都是45°。另一个例子是DAC = 20°BAC = 60°ABD = 50°CBD = 30°BCA = 40°DCA = 30°CDB = 80°ADB = 50°。非相似整数角度四边形的总数是多少注意在计算中如果计算出的角度在整数值的10-9范围内则可以假定计算出的角度是整数。
# --hints--
`euler177()`应返回129325。
```js
assert.strictEqual(euler177(), 129325);
```
# --seed--
## --seed-contents--
```js
function euler177() {
return true;
}
euler177();
```
# --solutions--
```js
// solution required
```