* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
41 lines
549 B
Markdown
41 lines
549 B
Markdown
---
|
|
id: 5900f4e11000cf542c50fff3
|
|
title: 'Problem 372: Pencils of rays'
|
|
challengeType: 5
|
|
forumTopicId: 302034
|
|
dashedName: problem-372-pencils-of-rays
|
|
---
|
|
|
|
# --description--
|
|
|
|
Let R(M, N) be the number of lattice points (x, y) which satisfy M
|
|
|
|
Note: represents the floor function.
|
|
|
|
# --hints--
|
|
|
|
`euler372()` should return 301450082318807040.
|
|
|
|
```js
|
|
assert.strictEqual(euler372(), 301450082318807040);
|
|
```
|
|
|
|
# --seed--
|
|
|
|
## --seed-contents--
|
|
|
|
```js
|
|
function euler372() {
|
|
|
|
return true;
|
|
}
|
|
|
|
euler372();
|
|
```
|
|
|
|
# --solutions--
|
|
|
|
```js
|
|
// solution required
|
|
```
|