http://acm.split.hdu.edu.cn/showproblem.php?pid=4405 Aeroplane chess Problem Description Hzz loves aeroplane chess very much. The chess map contains N ...
分类:
其他好文 时间:
2016-08-19 19:07:11
阅读次数:
143
题目链接:http://acm.split.hdu.edu.cn/showproblem.php?pid=5794 题意:给你一个n*m的网格,问从(1, 1)走到(n, m)的方案数是多少,其中有r个点是不可到达的; 根据公式我们可以知道每次只能走”日"型; 路径如上图所示,我们可以看到有很多点是 ...
分类:
其他好文 时间:
2016-08-18 23:28:18
阅读次数:
203
题目大意:一个n(n<=1000)行,20列的棋盘上有一些棋子,两个人下棋,每回合可以把任意一个棋子向右移动到这一行的离这个棋子最近的空格上(注意这里不一定是移动最后一个棋子),不能移动到棋盘外,不能移动了就算输,两个人都用最优策略,问先手是否有必胜策略。 这题显然就是SG函数了吧。行与行之间互不影 ...
分类:
其他好文 时间:
2016-08-14 17:30:42
阅读次数:
112
Long Live the Queen Time Limit:250MS Memory Limit:4096KB 64bit IO Format:%I64d & %I64u Description The Queen of Byteland is very loved by her people. ...
分类:
其他好文 时间:
2016-08-14 07:19:10
阅读次数:
167
Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know little about this ...
分类:
其他好文 时间:
2016-08-13 09:58:38
阅读次数:
149
Vasya and Chess Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u CodeForces 493D Vasya and Chess CodeForces 493D Description Vasy ...
分类:
其他好文 时间:
2016-08-12 11:47:32
阅读次数:
161
Description Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know little ...
分类:
其他好文 时间:
2016-08-10 22:29:10
阅读次数:
222
War Chess Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description War chess is hh's favorite game:In this game, there is an N * M ...
分类:
其他好文 时间:
2016-08-06 19:00:45
阅读次数:
231
题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2533 题目大意:给定一个棋盘,在棋盘上放两个皇后(一白一黑),求使得两个皇后相互攻击(在一行、 ...
分类:
其他好文 时间:
2016-08-06 15:48:24
阅读次数:
128
题目链接:hdu_5794_A Simple Chess 题意: 给你n,m,从(1,1)到(n,m),每次只能从左上到右下走日字路线,有k(<=100)的不能走的位置,问你有多少方案 题解: 画图可看到路线是一个杨辉三角的图,然后我们可以将对应的x,y转换到对应的点上,也可以吧杨辉三角看成一个平行 ...
分类:
其他好文 时间:
2016-08-06 01:50:04
阅读次数:
166