chore(i18n,curriculum): processed translations (#44171)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
---
|
||||
id: 5900f4391000cf542c50ff4c
|
||||
title: 'Problem 205: Dice Game'
|
||||
title: 'Problema 205: Jogo de dados'
|
||||
challengeType: 5
|
||||
forumTopicId: 301846
|
||||
dashedName: problem-205-dice-game
|
||||
@ -8,20 +8,20 @@ dashedName: problem-205-dice-game
|
||||
|
||||
# --description--
|
||||
|
||||
Peter has nine four-sided (pyramidal) dice, each with faces numbered 1, 2, 3, 4.
|
||||
Pedro tem nove dados de quatro lados (piramidais), e cada uma das faces recebe um número 1, 2, 3 e 4.
|
||||
|
||||
Colin has six six-sided (cubic) dice, each with faces numbered 1, 2, 3, 4, 5, 6.
|
||||
Colin tem seis dados de seis lados (cúbicos), e cada uma das fazes recebe um número 1, 2, 3, 4, 5 e 6.
|
||||
|
||||
Peter and Colin roll their dice and compare totals: the highest total wins. The result is a draw if the totals are equal.
|
||||
Pedro e Colin rolam seus dados e comparam os totais: o maior total ganha. O resultado é um empate se os totais forem iguais.
|
||||
|
||||
What is the probability that Pyramidal Pete beats Cubic Colin? Give your answer rounded to seven decimal places in the form 0.abcdefg
|
||||
Qual é a probabilidade que o Pedro Piramidal vencer Colin Cúbico? Arredonde sua resposta para até sete casas decimais usando o formato 0.abcdefg
|
||||
|
||||
# --hints--
|
||||
|
||||
`euler205()` should return 0.5731441.
|
||||
`diceGame()` deve retornar `0.5731441`.
|
||||
|
||||
```js
|
||||
assert.strictEqual(euler205(), 0.5731441);
|
||||
assert.strictEqual(diceGame(), 0.5731441);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
@ -29,12 +29,12 @@ assert.strictEqual(euler205(), 0.5731441);
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
function euler205() {
|
||||
function diceGame() {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
euler205();
|
||||
diceGame();
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
Reference in New Issue
Block a user