56 lines
1.1 KiB
Markdown
56 lines
1.1 KiB
Markdown
---
|
||
id: 5900f4841000cf542c50ff96
|
||
challengeType: 5
|
||
title: 'Problem 279: Triangles with integral sides and an integral angle'
|
||
videoUrl: ''
|
||
localeTitle: 'Задача 279: Треугольники с целыми сторонами и интегральный угол'
|
||
---
|
||
|
||
## Description
|
||
<section id="description"> Сколько треугольников имеется с целыми сторонами, по крайней мере один интегральный угол (измеряется в градусах) и периметр, который не превышает 108? </section>
|
||
|
||
## Instructions
|
||
<section id="instructions">
|
||
</section>
|
||
|
||
## Tests
|
||
<section id='tests'>
|
||
|
||
```yml
|
||
tests:
|
||
- text: <code>euler279()</code> должен вернуть 416577688.
|
||
testString: 'assert.strictEqual(euler279(), 416577688, "<code>euler279()</code> should return 416577688.");'
|
||
|
||
```
|
||
|
||
</section>
|
||
|
||
## Challenge Seed
|
||
<section id='challengeSeed'>
|
||
|
||
<div id='js-seed'>
|
||
|
||
```js
|
||
function euler279() {
|
||
// Good luck!
|
||
return true;
|
||
}
|
||
|
||
euler279();
|
||
|
||
```
|
||
|
||
</div>
|
||
|
||
|
||
|
||
</section>
|
||
|
||
## Solution
|
||
<section id='solution'>
|
||
|
||
```js
|
||
// solution required
|
||
```
|
||
</section>
|