1.1 KiB
1.1 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4391000cf542c50ff4c | 5 | Problem 205: Dice Game | 问题205:骰子游戏 |
Description
彼得和科林掷骰子并比较总数:总得分最高。如果总数相等,结果是平局。
金字塔皮特击败立方科林的几率是多少?将您的答案四舍五入到0.abcdefg形式的七位小数
Instructions
Tests
tests:
- text: <code>euler205()</code>应该返回0.5731441。
testString: 'assert.strictEqual(euler205(), 0.5731441, "<code>euler205()</code> should return 0.5731441.");'
Challenge Seed
function euler205() {
// Good luck!
return true;
}
euler205();
Solution
// solution required