2018-10-10 22:03:03 +00:00
|
|
|
---
|
|
|
|
id: 5900f4e11000cf542c50fff3
|
|
|
|
challengeType: 5
|
|
|
|
title: 'Problem 372: Pencils of rays'
|
2019-08-28 13:26:13 +00:00
|
|
|
forumTopicId: 302034
|
|
|
|
localeTitle: 'Problem 372: Pencils of rays'
|
2018-10-10 22:03:03 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
## Description
|
2019-08-28 13:26:13 +00:00
|
|
|
<section id='description'>
|
|
|
|
Пусть R (M, N) - число точек решетки (x, y), которые удовлетворяют условию M <p> Примечание: представляет функцию пола. </p>
|
|
|
|
</section>
|
2018-10-10 22:03:03 +00:00
|
|
|
|
|
|
|
## Instructions
|
2019-08-28 13:26:13 +00:00
|
|
|
<section id='instructions'>
|
|
|
|
|
|
|
|
</section>
|
2018-10-10 22:03:03 +00:00
|
|
|
|
|
|
|
## Tests
|
|
|
|
<section id='tests'>
|
|
|
|
|
|
|
|
```yml
|
|
|
|
tests:
|
2019-08-28 13:26:13 +00:00
|
|
|
- text: <code>euler372()</code> should return 301450082318807040.
|
|
|
|
testString: assert.strictEqual(euler372(), 301450082318807040);
|
2018-10-10 22:03:03 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
## Challenge Seed
|
|
|
|
<section id='challengeSeed'>
|
|
|
|
|
|
|
|
<div id='js-seed'>
|
|
|
|
|
|
|
|
```js
|
|
|
|
function euler372() {
|
|
|
|
// Good luck!
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
euler372();
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
## Solution
|
|
|
|
<section id='solution'>
|
|
|
|
|
|
|
|
```js
|
|
|
|
// solution required
|
|
|
|
```
|
2019-08-28 13:26:13 +00:00
|
|
|
|
2018-10-10 22:03:03 +00:00
|
|
|
</section>
|