码迷,mamicode.com
首页 >  
搜索关键字:poj1753flip game    ( 5568个结果
UVA - 10561 Treblecross (SG定理)
Treblecross is a two player gamewhere the goal is to get three X in a row on a one-dimensional board. At the startof the game all cells in the board is empty. In each turn a player puts a X in an empt...
分类:其他好文   时间:2014-08-17 17:03:33    阅读次数:358
UVA - 11859 Division Game
Division game is a 2-player game.In this game, there is a matrix of positive integers with N rows and M columns.Players make their moves in turns. In each step, the current player selects arow. If the...
分类:其他好文   时间:2014-08-17 15:40:52    阅读次数:191
codeforce 128C Games with Rectangle 排列组合
Games with Rectangle Time Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Submit Status Description In this task Anna and Maria play the following game. Initia...
分类:其他好文   时间:2014-08-17 11:50:42    阅读次数:329
UVA - 1482 Playing With Stones
Description You and your friend are playing a game in which you and your friend take turns removing stones from piles. Initially there are N piles with a1, a2, a3,..., aN number of stones. On eac...
分类:其他好文   时间:2014-08-17 11:46:42    阅读次数:172
Bucharest, Romania 2013 H Red John Game 乱搞 未解
题意:给你一个无限的棋盘,里面有n×n的棋子,每个棋子可以跳过一个相邻(4个方向)棋子跳到下一个位置,并把他的相邻位(他跳过的那一位)删除。解题思路:判断n%3 是否等于 0 , 原因未知。解题代码: 1 #include 2 int main(){ 3 int n ; 4 whil...
分类:其他好文   时间:2014-08-16 23:49:01    阅读次数:290
hdu 1846 Brave Game
Brave Game Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6592    Accepted Submission(s): 4410 Problem Description 十年前读大学的时候,中国每年都要从国外...
分类:其他好文   时间:2014-08-16 21:10:11    阅读次数:152
uva 567 - Risk
RiskRisk is a board game in which several opposing players attempt to conquer the world. The gameboard consists of a world map broken up into hypothe....
分类:其他好文   时间:2014-08-16 20:58:21    阅读次数:342
zoj3010The Lamp Game(状态压缩+SPFA求最大路)经典
The Lamp Game Time Limit: 2 Seconds Memory Limit: 65536 KB Little Tom likes playing games. Recently he is fond of a game called Lamp Game. The game is like this: at first, there are n lamps o...
分类:其他好文   时间:2014-08-16 15:10:10    阅读次数:250
POJ 1753 Flip Game
标准的广搜题目。 大致题意,一个4X4的矩形中有黑白棋子。点一下会使自己变成另一种颜色,与其相邻的也会发生同样的变化。 问:最少经过多少次可以使盘面上的颜色达到一致? /************************************************************************/ /* 0.是否达到要求 1.是否在盘中 2.判重 3.符合要求 4....
分类:其他好文   时间:2014-08-16 11:15:10    阅读次数:246
POJ 1027 The Same Game(模拟)
题目链接题意 : 一个10×15的格子,有三种颜色的球,颜色相同且在同一片内的球叫做cluster(具体解释就是,两个球颜色相同且一个球可以通过上下左右到达另一个球,则这两个球属于同一个cluster,同时cluster含有至少两个球),每次选择cluster中包含同色球最多的进行消除,每次消除完之...
分类:其他好文   时间:2014-08-15 22:19:39    阅读次数:509
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!