1.3 KiB
1.3 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f42f1000cf542c50ff40 | 5 | Problem 194: Coloured Configurations | 问题194:彩色配置 |
Description
类型(a,b,c)的配置是由单元A和b单元B构成的图,其中图的顶点使用多达c种颜色着色,使得没有两个相邻顶点具有相同的颜色。上面的化合物图是类型(2,2,6)的配置的实例,实际上对于所有c≥4的类型(2,2,c)。
令N(a,b,c)为类型(a,b,c)的配置数。例如,N(1,0,3)= 24,N(0,2,4)= 92928,N(2,2,3)= 20736。
找到N(25,75,1984)的最后8位数。
Instructions
Tests
tests:
- text: <code>euler194()</code>应该返回61190912。
testString: 'assert.strictEqual(euler194(), 61190912, "<code>euler194()</code> should return 61190912.");'
Challenge Seed
function euler194() {
// Good luck!
return true;
}
euler194();
Solution
// solution required