码迷,mamicode.com
首页 >  
搜索关键字:motion sensing game    ( 5950个结果
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
HDU 3622 Bomb Game(二分+2SAT)
题意:有一个游戏,有n个回合,每回合可以在指定的2个区域之一放炸弹,炸弹范围是一个圈,要求每回合的炸弹范围没有重合。得分是炸弹半径最小的值。求可以得到的最大分数。思路:二分+2SAT。二分炸弹范围,再根据有无重合建图,用2SAT判定。#include #include #include #inclu...
分类:其他好文   时间:2014-08-15 17:17:49    阅读次数:191
POJ1733 - Parity game - 并查集
带权并查集一道不错的题,要用到离散化...
分类:其他好文   时间:2014-08-15 16:10:19    阅读次数:161
zoj 1008 Gnome Tetravex (dfs+枚举)
Gnome Tetravex Time Limit: 10 Seconds      Memory Limit: 32768 KB Hart is engaged in playing an interesting game, Gnome Tetravex, these days. In the game, at the beginning, the player is given...
分类:其他好文   时间:2014-08-15 16:00:49    阅读次数:270
HDU4939:Stupid Tower Defense(DP)
Problem Description FSF is addicted to a stupid tower defense game. The goal of tower defense games is to try to stop enemies from crossing a map by building traps to slow them down and towers whic...
分类:其他好文   时间:2014-08-15 14:42:48    阅读次数:188
poj 1733 Parity game 并查集 离散化
点击打开链接题目链接 Parity game Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 6249   Accepted: 2413 Description Now and then you play the following game with...
分类:其他好文   时间:2014-08-15 14:39:08    阅读次数:221
uva 10557 - XYZZY
Problem D: XYZZYADVENT: /ad?vent/, n. The prototypical computer adventure game, first designed by Will Crowther on the PDP-10 in the mid-1970s as an a...
分类:其他好文   时间:2014-08-15 14:34:08    阅读次数:194
poj 1733 Parity game【哈希+并查集】
这道题题意我不想说了,但是有一个条件必须的说,就是1-2其实是0-2这条边,3-4是2-4这条边,但是困惑了好久,其他就是哈希给他一个地址 ,然后把注解看下方   #include #include #define maxx 10001 int par[maxx]; int rank[maxx]; void init() { for(int i=0;i<=maxx;i++...
分类:其他好文   时间:2014-08-15 12:55:08    阅读次数:182
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!