55 lines
670 B
Markdown
55 lines
670 B
Markdown
|
---
|
|||
|
id: 5900f4041000cf542c50ff17
|
|||
|
challengeType: 5
|
|||
|
title: 'Problem 152: Writing one half as a sum of inverse squares'
|
|||
|
videoUrl: ''
|
|||
|
localeTitle: 问题152:将一半写为倒数平方和
|
|||
|
---
|
|||
|
|
|||
|
## Description
|
|||
|
undefined
|
|||
|
|
|||
|
## Instructions
|
|||
|
undefined
|
|||
|
|
|||
|
## Tests
|
|||
|
<section id='tests'>
|
|||
|
|
|||
|
```yml
|
|||
|
tests:
|
|||
|
- text: ''
|
|||
|
testString: 'assert.strictEqual(euler152(), 301, "<code>euler152()</code> should return 301.");'
|
|||
|
|
|||
|
```
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
## Challenge Seed
|
|||
|
<section id='challengeSeed'>
|
|||
|
|
|||
|
<div id='js-seed'>
|
|||
|
|
|||
|
```js
|
|||
|
function euler152() {
|
|||
|
// Good luck!
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
euler152();
|
|||
|
|
|||
|
```
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
## Solution
|
|||
|
<section id='solution'>
|
|||
|
|
|||
|
```js
|
|||
|
// solution required
|
|||
|
```
|
|||
|
</section>
|