1.3 KiB
1.3 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4551000cf542c50ff67 | 5 | Problem 232: The Race | 问题232:比赛 |
Description
在每次转弯时,玩家2选择硬币投掷的数量T,以最大化她获胜的概率。
玩家2获胜的概率是多少?
将您的答案四舍五入到0.abcdefgh形式的八位小数。
Instructions
Tests
tests:
- text: <code>euler232()</code>应返回0.83648556。
testString: 'assert.strictEqual(euler232(), 0.83648556, "<code>euler232()</code> should return 0.83648556.");'
Challenge Seed
function euler232() {
// Good luck!
return true;
}
euler232();
Solution
// solution required