freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-436-unfair-wager.ch...

56 lines
721 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: 5900f5221000cf542c510033
challengeType: 5
title: 'Problem 436: Unfair wager'
videoUrl: ''
localeTitle: 问题436不公平的赌注
---
## Description
undefined
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler436()</code>应该返回0.5276662759。
testString: 'assert.strictEqual(euler436(), 0.5276662759, "<code>euler436()</code> should return 0.5276662759.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler436() {
// Good luck!
return true;
}
euler436();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>