Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-283-integer-sided-triangles-for-which-the-area--perimeter-ratio-is-integral.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

48 lines
886 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: 5900f4881000cf542c50ff9a
title: 问题283面积*周长比为整数的整数边三角形
challengeType: 5
videoUrl: ''
dashedName: >-
problem-283-integer-sided-triangles-for-which-the-area--perimeter-ratio-is-integral
---
# --description--
考虑具有边6、8和10的三角形。可以看出周长和面积都等于24。
因此面积/周长比等于1。
还要考虑具有边13、14和15的三角形。周长等于42而面积等于84。
因此,对于该三角形,面积/周长比等于2。
求出面积/周长比等于不超过1000的正整数的所有整数边三角形的周长总和。
# --hints--
`euler283()`应该返回28038042525570324。
```js
assert.strictEqual(euler283(), 28038042525570324);
```
# --seed--
## --seed-contents--
```js
function euler283() {
return true;
}
euler283();
```
# --solutions--
```js
// solution required
```