1 人解决,12 人已尝试。
2 份提交通过,共有 65 份提交。
9.9 EMB 奖励。
单点时限: 4.0 sec
内存限制: 256 MB
We have a chessboard, as the figure below, it shows the chessboard with dimension 1, 3, 5, 7 (We ignore the even number).Now, your task is to place K bishops on the n – dimension chessboard and satisfied that none of then attack each other ( A bishop can move to any distance in any of the four diagonal directions).
The input contains two integers n ( 0 < n < 100 && n % 2 == 1 )and k ( 0<= k <= 10000) separated by a single space.
Output the answer mod 100007.
7 3 1 1 1 0
1038 1 1
1 人解决,12 人已尝试。
2 份提交通过,共有 65 份提交。
9.9 EMB 奖励。
创建: 16 年前.
修改: 8 年前.
最后提交: 1 周前.
来源: N/A