转载请注明出处:http://blog.csdn.net/vmurder/article/details/42653921
其实我就是觉得原创的访问量比未授权盗版多有点不爽233。。。
题意:给一个有向无环图(拓扑图),有若干个棋子,两人轮流操作,每次可以把其中某棋子沿图走一步,无法操作者输。
题解:SG函数裸题,模板题
代码:
#include
#include
#incl...
分类:
其他好文 时间:
2015-01-13 09:02:39
阅读次数:
188
Background
Mr Somurolov, fabulous chess-gamer indeed, asserts that no one else but him canmove knights from one position to another so fast. Can you beat him?
The Problem
Your task is to write ...
分类:
其他好文 时间:
2014-12-29 18:26:07
阅读次数:
192
Description在N行M列的棋盘上,放若干个炮可以是0个,使得没有任何一个炮可以攻击另一个炮。 请问有多少种放置方法,中国像棋中炮的行走方式大家应该很清楚吧.Input一行包含两个整数N,M,中间用空格分开.Output输出所有的方案数,由于值比较大,输出其mod 9999973Sample ...
分类:
其他好文 时间:
2014-12-24 21:24:00
阅读次数:
193
Domination
Time Limit: 8 Seconds
Memory Limit: 131072 KB Special Judge
Edward is the headmaster of Marjar University. He is enthusiastic about chess and often plays chess with his ...
分类:
其他好文 时间:
2014-12-22 09:33:42
阅读次数:
192
Aeroplane chess
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1760 Accepted Submission(s): 1181
Problem Description
Hzz loves aero...
分类:
其他好文 时间:
2014-12-19 13:04:33
阅读次数:
215
C -Super Jumping! Jumping! Jumping!Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionNowadays, a kind of chess game called ...
分类:
其他好文 时间:
2014-12-12 23:22:28
阅读次数:
214
Vasya and Football
Vasya and Wrestling
Vasya and Basketball
Vasya and Chess...
分类:
其他好文 时间:
2014-12-12 11:50:01
阅读次数:
254
题目描述
Problem D: Knight's Trip
In chess, each move of a knight consists of moving by two squares horizontally and one square vertically, or by one square horizontally and two squares vertically....
分类:
其他好文 时间:
2014-12-09 14:03:08
阅读次数:
617
To decide who would play first in a human vs. AI chess match,the human contender, Garry, suggested flipping a coin. 为了决定谁在人机象棋比赛里有先走权,嘉里说,抛硬币决定。Heprod...
分类:
其他好文 时间:
2014-12-07 06:29:17
阅读次数:
303
codeforces 493D Vasya and Chess(博弈?)
题目大意:
给一个N*N的棋盘。然后一开始 白队的Queen在(1,1),黑队的Queen在(1,n)。
其余的点都是绿棋子。
Queen可以走横竖和斜线。(就是国际象棋里面Queen的走法,但是必须要吃子)。
问白方先走。谁能嬴(没得走或者被吃了就死了)...
分类:
其他好文 时间:
2014-12-04 18:05:59
阅读次数:
134