chore(i18n,curriculum): update translations (#43178)

This commit is contained in:
camperbot
2021-08-20 00:00:51 -07:00
committed by GitHub
parent 1b7ddb13d2
commit 703394b127
130 changed files with 691 additions and 600 deletions

View File

@@ -1,6 +1,6 @@
---
id: 5900f50e1000cf542c510020
title: 'Problem 416: A frog''s trip'
title: 'Problema 416: A viagem de um sapo'
challengeType: 5
forumTopicId: 302085
dashedName: problem-416-a-frogs-trip
@@ -8,18 +8,20 @@ dashedName: problem-416-a-frogs-trip
# --description--
A row of n squares contains a frog in the leftmost square. By successive jumps the frog goes to the rightmost square and then back to the leftmost square. On the outward trip he jumps one, two or three squares to the right, and on the homeward trip he jumps to the left in a similar manner. He cannot jump outside the squares. He repeats the round-trip travel m times.
Uma fileira de $n$ quadrados contém um sapo no quadrado mais à esquerda. Em sucessivos pulos, o sapo vai para o quadrado mais à direita e depois volta para o quadrado mais à esquerda. Na viagem de ida, ele pula um, dois ou três quadrados para a direita. Na viagem de volta para casa, ele pula para a esquerda de uma maneira parecida. Ele não pode pular fora dos quadrados. Ele repete a viagem de ida e volta $m$ vezes.
Let F(m, n) be the number of the ways the frog can travel so that at most one square remains unvisited. For example, F(1, 3) = 4, F(1, 4) = 15, F(1, 5) = 46, F(2, 3) = 16 and F(2, 100) mod 109 = 429619151.
Considere que $F(m, n)$ é o número de maneiras pelas quais o sapo pode viajar, sendo que, no máximo, um quadrado pode permanecer sem ser visitado.
Find the last 9 digits of F(10, 1012).
Por exemplo, $F(1, 3) = 4$, $F(1, 4) = 15$, $F(1, 5) = 46$, $F(2, 3) = 16$ e $F(2, 100)\bmod {10}^9 = 429\\,619\\,151$.
Encontre os últimos 9 dígitos de $F(10, {10}^{12})$.
# --hints--
`euler416()` should return 898082747.
`frogsTrip()` deve retornar `898082747`.
```js
assert.strictEqual(euler416(), 898082747);
assert.strictEqual(frogsTrip(), 898082747);
```
# --seed--
@@ -27,12 +29,12 @@ assert.strictEqual(euler416(), 898082747);
## --seed-contents--
```js
function euler416() {
function frogsTrip() {
return true;
}
euler416();
frogsTrip();
```
# --solutions--