Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-223-almost-right-angled-triangles-i.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
645 B
Markdown

---
id: 5900f44b1000cf542c50ff5e
title: 'Problem 223: Almost right-angled triangles I'
challengeType: 5
forumTopicId: 301866
dashedName: problem-223-almost-right-angled-triangles-i
---
# --description--
Let us call an integer sided triangle with sides a ≤ b ≤ c barely acute if the sides satisfy a2 + b2 = c2 + 1.
How many barely acute triangles are there with perimeter ≤ 25,000,000?
# --hints--
`euler223()` should return 61614848.
```js
assert.strictEqual(euler223(), 61614848);
```
# --seed--
## --seed-contents--
```js
function euler223() {
return true;
}
euler223();
```
# --solutions--
```js
// solution required
```