chore(i18n,curriculum): processed translations - new ukrainian (#44447)
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
---
|
||||
id: 5900f4251000cf542c50ff38
|
||||
title: 'Завдання 185: Number Mind'
|
||||
challengeType: 5
|
||||
forumTopicId: 301821
|
||||
dashedName: problem-185-number-mind
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
Гра Number Mind є варіантом відомої гри Master Mind.
|
||||
|
||||
Замість кольорових кілочків, ви повинні вгадати секретну послідовність цифр. Після кожної здогадки вам показують тільки ті цифри послідовності, які ви вгадали. Отже, якщо послідовність була 1234, а ви вказали 2036, то маєте одну правильну цифру; однак, вам не покажуть, що ви вгадали також ще одну цифру, але у неправильному місці.
|
||||
|
||||
Наприклад, для секретної послідовності 5 цифр,
|
||||
|
||||
$$\begin{align} & 90342 ;2\\;\text{correct}\\\\ & 70794 ;0\\;\text{correct}\\\\ & 39458 ;2\\;\text{correct}\\\\ & 34109 ;1\\;\text{correct}\\\\ & 51545 ;2\\;\text{correct}\\\\ & 12531 ;1\\;\text{correct} \end{align}$$
|
||||
|
||||
Правильна послідовність 39542 унікальна.
|
||||
|
||||
На основі наступних здогадок,
|
||||
|
||||
$$\begin{align} & 5616185650518293 ;2\\;\text{correct}\\\\ & 3847439647293047 ;1\\;\text{correct}\\\\ & 5855462940810587 ;3\\;\text{correct}\\\\ & 9742855507068353 ;3\\;\text{correct}\\\\ & 4296849643607543 ;3\\;\text{correct}\\\\ & 3174248439465858 ;1\\;\text{correct}\\\\ & 4513559094146117 ;2\\;\text{correct}\\\\ & 7890971548908067 ;3\\;\text{correct}\\\\ & 8157356344118483 ;1\\;\text{correct}\\\\ & 2615250744386899 ;2\\;\text{correct}\\\\ & 8690095851526254 ;3\\;\text{correct}\\\\ & 6375711915077050 ;1\\;\text{correct}\\\\ & 6913859173121360 ;1\\;\text{correct}\\\\ & 6442889055042768 ;2\\;\text{correct}\\\\ & 2321386104303845 ;0\\;\text{correct}\\\\ & 2326509471271448 ;2\\;\text{correct}\\\\ & 5251583379644322 ;2\\;\text{correct}\\\\ & 1748270476758276 ;3\\;\text{correct}\\\\ & 4895722652190306 ;1\\;\text{correct}\\\\ & 3041631117224635 ;3\\;\text{correct}\\\\ & 1841236454324589 ;3\\;\text{correct}\\\\ & 2659862637316867 ;2\\;\text{correct} \end{align}$$
|
||||
|
||||
Знайдіть унікальну секретну послідовність з 16 цифр.
|
||||
|
||||
# --hints--
|
||||
|
||||
`numberMind()` має повернути `4640261571849533`.
|
||||
|
||||
```js
|
||||
assert.strictEqual(numberMind(), 4640261571849533);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
function numberMind() {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
numberMind();
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
||||
```js
|
||||
// solution required
|
||||
```
|
Reference in New Issue
Block a user