Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-257-angular-bisectors.russian.md

58 lines
1.8 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: 5900f46e1000cf542c50ff80
challengeType: 5
title: 'Problem 257: Angular Bisectors'
forumTopicId: 301905
localeTitle: 'Задача 257: Угловые биссектрисы'
---
## Description
<section id='description'>
Дано целочисленный треугольник ABC со сторонами a ≤ b ≤ c. (AB = c, BC = a и AC = b). Угловые биссектрисы треугольника пересекают стороны в точках E, F и G (см. Рисунок ниже). <p> Сегменты EF, EG и FG разбивают треугольник ABC на четыре меньших треугольника: AEG, BFE, CGF и EFG. Можно доказать, что для каждого из этих четырех треугольников площадь отношения (ABC) / область (субтреугольник) рациональна. Однако существуют треугольники, для которых некоторые или все эти отношения являются интегральными. </p><p> Сколько треугольников ABC с периметром ≤ 100 000 000 существует, так что область отношения (ABC) / область (AEG) является интегральной? </p>
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler257()</code> should return 139012411.
testString: assert.strictEqual(euler257(), 139012411);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler257() {
// Good luck!
return true;
}
euler257();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>