freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-209-circular-logic.md

56 lines
1.0 KiB
Markdown
Raw Normal View History

---
id: 5900f43e1000cf542c50ff4f
challengeType: 5
videoUrl: ''
2020-10-01 15:54:21 +00:00
title: 问题209循环逻辑
---
## Description
<section id="description"> k输入二进制真值表是从k个输入位二进制数字0 [假]或1 [真]到1个输出位的映射。例如逻辑AND和XOR函数的2输入二进制真值表是 <p> x y x AND y000010100111x y x XOR y000011101110多个6输入二进制真值表τ满足公式</p><p>所有6位输入abcτabcdef和τbcdef一个XORb和c= 0 def </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler209()</code>应该返回15964587728784。
testString: assert.strictEqual(euler209(), 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>