freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-223-almost-right-an...

56 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f44b1000cf542c50ff5e
challengeType: 5
title: 'Problem 223: Almost right-angled triangles I'
videoUrl: ''
localeTitle: 'Проблема 223: Почти прямоугольные треугольники I'
---
## Description
<section id="description"> Назовем целочисленный односторонний треугольник со сторонами a ≤ b ≤ c едва острой, если стороны удовлетворяют условию a2 + b2 = c2 + 1. <p> Сколько почти острых треугольников существует с периметром ≤ 25 000 000? </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler223()</code> должен вернуть 61614848.
testString: 'assert.strictEqual(euler223(), 61614848, "<code>euler223()</code> should return 61614848.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler223() {
// Good luck!
return true;
}
euler223();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>