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

43 lines
825 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f43e1000cf542c50ff4f
title: 问题209循环逻辑
challengeType: 5
videoUrl: ''
dashedName: problem-209-circular-logic
---
# --description--
k输入二进制真值表是从k个输入位二进制数字0 \[假]或1 \[真]到1个输出位的映射。例如逻辑AND和XOR函数的2输入二进制真值表是
x y x AND y000010100111x y x XOR y000011101110多个6输入二进制真值表τ满足公式
所有6位输入abcτabcdef和τbcdef一个XORb和c= 0 def
# --hints--
`euler209()`应该返回15964587728784。
```js
assert.strictEqual(euler209(), 15964587728784);
```
# --seed--
## --seed-contents--
```js
function euler209() {
return true;
}
euler209();
```
# --solutions--
```js
// solution required
```