feat: enable new langs (#42491)

Enable italian and portuguese
This commit is contained in:
Nicholas Carrigan (he/him)
2021-06-15 00:49:18 -07:00
committed by GitHub
parent d8d6d20793
commit f25e3e69f8
3301 changed files with 423168 additions and 6 deletions

View File

@ -0,0 +1,46 @@
---
id: 5900f4a21000cf542c50ffb5
title: 'Problem 310: Nim Square'
challengeType: 5
forumTopicId: 301966
dashedName: problem-310-nim-square
---
# --description--
Alice and Bob play the game Nim Square.
Nim Square is just like ordinary three-heap normal play Nim, but the players may only remove a square number of stones from a heap.
The number of stones in the three heaps is represented by the ordered triple (a,b,c).
If 0≤a≤b≤c≤29 then the number of losing positions for the next player is 1160.
Find the number of losing positions for the next player if 0≤a≤b≤c≤100 000.
# --hints--
`euler310()` should return 2586528661783.
```js
assert.strictEqual(euler310(), 2586528661783);
```
# --seed--
## --seed-contents--
```js
function euler310() {
return true;
}
euler310();
```
# --solutions--
```js
// solution required
```