freeCodeCamp/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-250-250250.english.md

56 lines
864 B
Markdown
Raw Normal View History

---
id: 5900f4661000cf542c50ff78
challengeType: 5
title: 'Problem 250: 250250'
---
## Description
<section id='description'>
Find the number of non-empty subsets of {11, 22, 33,..., 250250250250}, the sum of whose elements is divisible by 250. Enter the rightmost 16 digits as your answer.
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler250()</code> should return 1425480602091519.
testString: 'assert.strictEqual(euler250(), 1425480602091519, "<code>euler250()</code> should return 1425480602091519.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler250() {
// Good luck!
return true;
}
euler250();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>