freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-179-consecutive-pos...

56 lines
770 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: 5900f41f1000cf542c50ff32
challengeType: 5
videoUrl: ''
localeTitle: 问题179连续的正向除数
---
## Description
<section id="description">求整数1 &lt;n &lt;107其中n和n + 1具有相同的正除数。例如14具有正除数1,2,7,14而15具有1,3,5,15。 </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler179()</code>应返回986262。
testString: assert.strictEqual(euler179(), 986262);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler179() {
// Good luck!
return true;
}
euler179();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>