Files
freeCodeCamp/curriculum/challenges/ukrainian/10-coding-interview-prep/project-euler/problem-279-triangles-with-integral-sides-and-an-integral-angle.md

39 lines
1011 B
Markdown
Raw Permalink 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: 5900f4841000cf542c50ff96
title: 'Задача 279: Трикутники зі сторонами та кутом, що вимірюються цілими числами'
challengeType: 5
forumTopicId: 301929
dashedName: problem-279-triangles-with-integral-sides-and-an-integral-angle
---
# --description--
Скільки існує трикутників зі сторонами, що вимірюються цілими числами, з хоча б одним кутом, що вимірюється цілими числами (в градусах), і з периметром, який не перевищує ${10}^8$?
# --hints--
`trianglesWithIntegralSidesAndAngle()` має повертати до `416577688`.
```js
assert.strictEqual(trianglesWithIntegralSidesAndAngle(), 416577688);
```
# --seed--
## --seed-contents--
```js
function trianglesWithIntegralSidesAndAngle() {
return true;
}
trianglesWithIntegralSidesAndAngle();
```
# --solutions--
```js
// solution required
```