56 lines
1.4 KiB
Markdown
56 lines
1.4 KiB
Markdown
---
|
||
id: 5900f43e1000cf542c50ff50
|
||
challengeType: 5
|
||
title: 'Problem 210: Obtuse Angled Triangles'
|
||
videoUrl: ''
|
||
localeTitle: 'Проблема 210: Тонкие треугольные треугольники'
|
||
---
|
||
|
||
## Description
|
||
<section id="description"> Рассмотрим множество S (r) точек (x, y) с целыми координатами, удовлетворяющими | x | + | y | ≤ r. Пусть O - точка (0,0) и C - точка (r / 4, r / 4). Пусть N (r) - число точек B в S (r), так что треугольник OBC имеет тупой угол, т. Е. Наибольший угол α удовлетворяет 90 ° <α <180 °. Так, например, N (4) = 24 и N (8) = 100. <p> Что такое N (1,000,000,000)? </p></section>
|
||
|
||
## Instructions
|
||
<section id="instructions">
|
||
</section>
|
||
|
||
## Tests
|
||
<section id='tests'>
|
||
|
||
```yml
|
||
tests:
|
||
- text: <code>euler210()</code> должен вернуть 1598174770174689500.
|
||
testString: 'assert.strictEqual(euler210(), 1598174770174689500, "<code>euler210()</code> should return 1598174770174689500.");'
|
||
|
||
```
|
||
|
||
</section>
|
||
|
||
## Challenge Seed
|
||
<section id='challengeSeed'>
|
||
|
||
<div id='js-seed'>
|
||
|
||
```js
|
||
function euler210() {
|
||
// Good luck!
|
||
return true;
|
||
}
|
||
|
||
euler210();
|
||
|
||
```
|
||
|
||
</div>
|
||
|
||
|
||
|
||
</section>
|
||
|
||
## Solution
|
||
<section id='solution'>
|
||
|
||
```js
|
||
// solution required
|
||
```
|
||
</section>
|