码迷,mamicode.com
首页 >  
搜索关键字:a simple game    ( 11903个结果
关于Java ThreadLocal
转自:http://www.appneta.com/blog/introduction-to-javas-threadlocal-storage/ What is ThreadLocal? A simple example As its name suggests, a single instance of ThreadLocal can store different values ...
分类:编程语言   时间:2014-08-16 21:13:31    阅读次数:354
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
Build Simple HTTP server
1. The server just support POST&PUT method2. It is a Python server, and save upload files in special folder3. How to do it, it is apple example code, ...
分类:其他好文   时间:2014-08-16 18:17:40    阅读次数:207
ZOJ 3202 Second-price Auction (A)
Second-price AuctionTime Limit: 1 Second Memory Limit: 32768 KBDo you know second-price auction? It's very simple but famous. In a second-price a...
分类:其他好文   时间:2014-08-16 16:17:50    阅读次数:192
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
HDU1528_Card Game Cheater(二分图/最大匹配)
解题报告 题目传送门 题意: 两个人拿着两副牌,其中一人知道另一个人的手牌,问要怎么配对才能使他获得更多的点数。 游戏规则: 两张牌的第一个数大的牌的人加点。 第一个数相同就比较第二个数。 H>S>D>C 思路: 很容易建图,二分图最大匹配over #include #include #include using namespace std; int mmap[100]...
分类:其他好文   时间:2014-08-15 21:14:29    阅读次数:362
ZOJ2507-Let's play a game(Anti-Nim)
Let's play a game Time Limit: 2 Seconds      Memory Limit: 65536 KB Elves from the Lothvain forest have created a very interesting game. The rules are very simple: There are two players. ...
分类:其他好文   时间:2014-08-15 17:56:19    阅读次数:251
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!