1.2 KiB
1.2 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4d91000cf542c50ffea | 5 | Problem 364: Comfortable distance | 问题364:舒适的距离 |
Description
设T(N)是具有给定规则的N个人占用N个座位的可能性的数量。下图显示T(4)= 8。
我们可以验证T(10)= 61632和T(1 000)mod 100 000 007 = 47255094.求T(1 000 000)mod 100 000 007。
Instructions
Tests
tests:
- text: <code>euler364()</code>应返回44855254。
testString: 'assert.strictEqual(euler364(), 44855254, "<code>euler364()</code> should return 44855254.");'
Challenge Seed
function euler364() {
// Good luck!
return true;
}
euler364();
Solution
// solution required