chore(i18n,curriculum): update translations (#44272)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
id: 5900f5061000cf542c510017
|
||||
title: 'Problem 409: Nim Extreme'
|
||||
title: 'Problema 409: Nim extremos'
|
||||
challengeType: 5
|
||||
forumTopicId: 302077
|
||||
dashedName: problem-409-nim-extreme
|
||||
@@ -8,24 +8,24 @@ dashedName: problem-409-nim-extreme
|
||||
|
||||
# --description--
|
||||
|
||||
Let n be a positive integer. Consider nim positions where:There are n non-empty piles.
|
||||
Considere $n$ um inteiro positivo. Considere as posições nim onde:
|
||||
|
||||
Each pile has size less than 2n.
|
||||
- Não existam $n$ pilhas não vazias.
|
||||
- Cada pilha tenha um tamanho inferior a $2^n$.
|
||||
- Não haja duas pilhas com o mesmo tamanho.
|
||||
|
||||
No two piles have the same size.
|
||||
Considere $W(n)$ como o número de posições nim vencedoras que satisfazem as condições acima (uma posição é vencedora se o primeiro jogador tiver uma estratégia vencedora).
|
||||
|
||||
Let W(n) be the number of winning nim positions satisfying the above
|
||||
Por exemplo, $W(1) = 1$, $W(2) = 6$, $W(3) = 168$, $W(5) = 19.764.360$ e $W(100)\bmod 1.000.000.007 = 384.777.056$.
|
||||
|
||||
conditions (a position is winning if the first player has a winning strategy). For example, W(1) = 1, W(2) = 6, W(3) = 168, W(5) = 19764360 and W(100) mod 1 000 000 007 = 384777056.
|
||||
|
||||
Find W(10 000 000) mod 1 000 000 007.
|
||||
Encontre $W(10.000.000)\bmod 1.000.000.007$.
|
||||
|
||||
# --hints--
|
||||
|
||||
`euler409()` should return 253223948.
|
||||
`nimExtreme()` deve retornar `253223948`.
|
||||
|
||||
```js
|
||||
assert.strictEqual(euler409(), 253223948);
|
||||
assert.strictEqual(nimExtreme(), 253223948);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
@@ -33,12 +33,12 @@ assert.strictEqual(euler409(), 253223948);
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
function euler409() {
|
||||
function nimExtreme() {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
euler409();
|
||||
nimExtreme();
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
Reference in New Issue
Block a user