Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-249-prime-subset-sums.md

56 lines
806 B
Markdown
Raw Normal View History

---
id: 5900f4671000cf542c50ff79
challengeType: 5
videoUrl: ''
2020-10-01 17:54:21 +02:00
title: 问题249Prime子集总和
---
## Description
<section id="description">令S = {2,3,5...4999}为小于5000的素数集。求出S的子集数其元素之和为素数。输入最右边的16位数字作为答案。 </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler249()</code>应该返回9275262564250418。
testString: assert.strictEqual(euler249(), 9275262564250418);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler249() {
// Good luck!
return true;
}
euler249();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>