56 lines
1.2 KiB
Markdown
56 lines
1.2 KiB
Markdown
|
---
|
|||
|
id: 5900f5481000cf542c51005a
|
|||
|
challengeType: 5
|
|||
|
title: 'Problem 475: Music festival'
|
|||
|
videoUrl: ''
|
|||
|
localeTitle: 问题475:音乐节
|
|||
|
---
|
|||
|
|
|||
|
## Description
|
|||
|
<section id="description"> 12n音乐家参加音乐节。在第一天,他们形成3n四重奏并整日练习。这是一场灾难。在一天结束时,所有音乐家都决定再也不会同意与他们四重奏的任何成员一起玩。在第二天,他们形成4n三人组,每个音乐家都避开他以前的四重奏伙伴。 <p>设f(12n)是在12n音乐家中组织三人组合的方式。给出f(12)= 576和f(24)mod 1 000 000 007 = 509089824。 </p><p>求f(600)mod 1 000 000 007。 </p></section>
|
|||
|
|
|||
|
## Instructions
|
|||
|
<section id="instructions">
|
|||
|
</section>
|
|||
|
|
|||
|
## Tests
|
|||
|
<section id='tests'>
|
|||
|
|
|||
|
```yml
|
|||
|
tests:
|
|||
|
- text: <code>euler475()</code>应返回75780067。
|
|||
|
testString: 'assert.strictEqual(euler475(), 75780067, "<code>euler475()</code> should return 75780067.");'
|
|||
|
|
|||
|
```
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
## Challenge Seed
|
|||
|
<section id='challengeSeed'>
|
|||
|
|
|||
|
<div id='js-seed'>
|
|||
|
|
|||
|
```js
|
|||
|
function euler475() {
|
|||
|
// Good luck!
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
euler475();
|
|||
|
|
|||
|
```
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
## Solution
|
|||
|
<section id='solution'>
|
|||
|
|
|||
|
```js
|
|||
|
// solution required
|
|||
|
```
|
|||
|
</section>
|