Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-370-geometric-triangles.russian.md

55 lines
1.5 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: 5900f4de1000cf542c50fff1
challengeType: 5
title: 'Problem 370: Geometric triangles'
videoUrl: ''
localeTitle: 'Задача 370: Геометрические треугольники'
---
## Description
<section id="description"> Определим геометрический треугольник как целочисленный односторонний треугольник со сторонами a ≤ b ≤ c, так что его стороны образуют геометрическую прогрессию, т. Е. B2 = a · c. <p> Примером такого геометрического треугольника является треугольник со сторонами a = 144, b = 156 и c = 169. </p><p> Есть 861805 геометрических треугольников с периметром ≤ 106. </p><p> Сколько геометрических треугольников существует с периметром ≤ 2,5 · 1013? </p></section>
## Instructions
undefined
## Tests
<section id='tests'>
```yml
tests:
- text: ''
testString: 'assert.strictEqual(euler370(), 41791929448408, "<code>euler370()</code> should return 41791929448408.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler370() {
// Good luck!
return true;
}
euler370();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>