bfs
文章平均质量分 86
csu_huangning
这个作者很懒,什么都没留下…
展开
-
coj_1224: ACM小组的古怪象棋
Description ACM小组的Samsara和Staginner对中国象棋特别感兴趣,尤其对马(可能是因为这个棋子的走法比较多吧)的使用进行深入研究。今天他们又在 构思一个古怪的棋局:假如Samsara只有一个马了,而Staginner又只剩下一个将,两个棋子都在棋盘的一边,马不能出这一半棋盘的范围,另外这 一半棋盘的大小很奇特(n行m列)。Samsara想知道他的马最少需要跳几次原创 2015-07-27 08:43:19 · 454 阅读 · 0 评论 -
POJ_1915_Knight Moves
Description Background Mr Somurolov, fabulous chess-gamer indeed, asserts that no one else but him can move knights from one position to another so fast. Can you beat him? The Problem Your ta原创 2015-07-27 09:21:29 · 319 阅读 · 0 评论 -
hdu_1312_Red and Black
Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjacent til原创 2015-07-27 09:04:54 · 156 阅读 · 0 评论 -
HDU_1312_Red and Black
Red and Black Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 12866 Accepted Submission(s): 7960 Problem Description There is a原创 2015-07-28 16:33:20 · 246 阅读 · 0 评论