chore(i18n,curriculum): update translations (#44255)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
---
|
||||
id: 5900f4de1000cf542c50fff0
|
||||
title: 'Problem 369: Badugi'
|
||||
title: 'Problema 369: Badugi'
|
||||
challengeType: 5
|
||||
forumTopicId: 302030
|
||||
dashedName: problem-369-badugi
|
||||
@ -8,18 +8,18 @@ dashedName: problem-369-badugi
|
||||
|
||||
# --description--
|
||||
|
||||
In a standard 52 card deck of playing cards, a set of 4 cards is a Badugi if it contains 4 cards with no pairs and no two cards of the same suit.
|
||||
Em um baralho padrão de 52 cartas, um conjunto de 4 cartas é um Badugi caso tenha 4 cartas sem pares e se não houver duas cartas do mesmo naipe.
|
||||
|
||||
Let f(n) be the number of ways to choose n cards with a 4 card subset that is a Badugi. For example, there are 2598960 ways to choose five cards from a standard 52 card deck, of which 514800 contain a 4 card subset that is a Badugi, so f(5) = 514800.
|
||||
Considere $f(n)$ como o número de maneiras de escolher $n$ cartas com um subconjunto de 4 cartas que é um Badugi. Por exemplo, há $2.598.960$ maneiras de escolher cinco cartas de um baralho padrão de 52 cartas. Dessas, $514.800$ contêm um subconjunto que é um Badugi. Assim, $f(5) = 514800$.
|
||||
|
||||
Find ∑f(n) for 4 ≤ n ≤ 13.
|
||||
Encontre $\sum f(n)$ para $4 ≤ n ≤ 13$.
|
||||
|
||||
# --hints--
|
||||
|
||||
`euler369()` should return 862400558448.
|
||||
`badugi()` deve retornar `862400558448`.
|
||||
|
||||
```js
|
||||
assert.strictEqual(euler369(), 862400558448);
|
||||
assert.strictEqual(badugi(), 862400558448);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
@ -27,12 +27,12 @@ assert.strictEqual(euler369(), 862400558448);
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
function euler369() {
|
||||
function badugi() {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
euler369();
|
||||
badugi();
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
Reference in New Issue
Block a user