freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-215-crack-free-wall...

56 lines
1.1 KiB
Markdown
Raw Normal View History

---
id: 5900f4431000cf542c50ff56
challengeType: 5
title: 'Problem 215: Crack-free Walls'
videoUrl: ''
localeTitle: 问题215无裂缝墙
---
## Description
<section id="description">考虑用2×1和3×1砖水平×垂直尺寸建造墙壁的问题使得为了额外的强度水平相邻砖块之间的间隙从不在连续层中排列即从不形成“运行”裂纹”。 <p>例如由于以红色显示的运行裂缝以下9×3墙是不可接受的 </p><p>有八种形成无裂纹9×3壁的方法写成W9,3= 8。 </p><p>计算W32,10</p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler215()</code>应该返回806844323190414。
testString: 'assert.strictEqual(euler215(), 806844323190414, "<code>euler215()</code> should return 806844323190414.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler215() {
// Good luck!
return true;
}
euler215();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>