Files
freeCodeCamp/curriculum/challenges/ukrainian/10-coding-interview-prep/project-euler/problem-181-investigating-in-how-many-ways-objects-of-two-different-colours-can-be-grouped.md

45 lines
1.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f4231000cf542c50ff34
title: >-
Завдання 181: Скількома способами можна згрупувати об'єкти двох різних кольорів
challengeType: 5
forumTopicId: 301817
dashedName: >-
problem-181-investigating-in-how-many-ways-objects-of-two-different-colours-can-be-grouped
---
# --description--
Три чорних об'єкти $B$ і один білий об'єкт $W$ можна згрупувати сімома способами:
$$(BBBW)\\;(B,BBW)\\;(B,B,BW)\\;(B,B,B,W)\\;(B,BB,W)\\;(BBB,W)\\;(BB,BW)$$
Скількома способами можна згрупувати шістдесят чорних об'єктів $B$ та сорок білих об'єктів $W$?
# --hints--
`colorsGrouping()` має повертати `83735848679360670`.
```js
assert.strictEqual(colorsGrouping(), 83735848679360670);
```
# --seed--
## --seed-contents--
```js
function colorsGrouping() {
return true;
}
colorsGrouping();
```
# --solutions--
```js
// solution required
```