Files

43 lines
1001 B
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: 5900f4411000cf542c50ff54
title: 'Завдання 213: Блошиний цирк'
challengeType: 5
forumTopicId: 301855
dashedName: problem-213-flea-circus
---
# --description--
На сітці 30×30 знаходиться 900 бліх, тобто одна блоха на квадрат.
Коли дзвонить дзвінок, кожна блоха стрибає на випадковий суміжний квадрат (4 варіанти, за винятком бліх на квадратах у кутках).
Скільки залишитися пустих квадратів після 50 дзвінків? Дайте відповідь, округлену до 6 знаків після коми.
# --hints--
`fleaCircus()` має повернути `330.721154`.
```js
assert.strictEqual(fleaCircus(), 330.721154);
```
# --seed--
## --seed-contents--
```js
function fleaCircus() {
return true;
}
fleaCircus();
```
# --solutions--
```js
// solution required
```