freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-209-circular-logic....

56 lines
1.4 KiB
Markdown
Raw Normal View History

---
id: 5900f43e1000cf542c50ff4f
challengeType: 5
title: 'Problem 209: Circular Logic'
videoUrl: ''
localeTitle: 'Задача 209: Круговая логика'
---
## Description
<section id="description"> Бинарная таблица истинности k-входа - это карта из k входных битов (двоичные цифры, 0 [ложь] или 1 [истина]) до 1 выходного бита. Например, 2-входные бинарные таблицы истинности для логических функций AND и XOR: <p> x y x И y000010100111x y x XOR y000011101110Как много бинарных таблиц истины с 6 входами, τ, удовлетворяют формуле </p><p> τ (a, b, c, d, e, f) AND τ (b, c, d, e, f, a XOR (b AND c)) = 0 для всех 6-битовых входов (a, b, c, d, e, f)? </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler209()</code> должен вернуть 15964587728784.
testString: 'assert.strictEqual(euler209(), 15964587728784, "<code>euler209()</code> should return 15964587728784.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler209() {
// Good luck!
return true;
}
euler209();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>