码迷,mamicode.com
首页 >  
搜索关键字:motion sensing game    ( 5950个结果
UVA - 1378 A Funny Stone Game (SG定理)
Description The funny stone game is coming. There are n piles of stones, numbered with 0, 1, 2,..., n - 1. Two persons pick stones in turn. In every turn, each person selects three piles of stones...
分类:其他好文   时间:2014-08-28 16:15:29    阅读次数:523
UVa 10905 Children's Game
注意!这不是单纯的字典序排序,比如90、9,应该是990最大对字符串排序蛋疼了好久,因为别人说string很慢,所以一直没有用过。看别人用string还是比较方便的,学习一下对了,这里的cmp函数写的还是很简洁的,比我写的要好得多 1 #define LOCAL 2 #include 3 #inc....
分类:其他好文   时间:2014-08-28 12:53:09    阅读次数:225
UVA - 12293 Box Game (规律)
Description   Box Game  There are two identical boxes. One of them contains n balls, while the other box contains one ball. Alice and Bob invented a game with the boxes and bal...
分类:其他好文   时间:2014-08-28 09:41:09    阅读次数:189
【leetcode】Jump Game I, II 跳跃游戏一和二
题目: Jump Game I: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that...
分类:其他好文   时间:2014-08-28 02:07:48    阅读次数:249
博弈:巴什博奕(Bash Game)威佐夫博奕(Wythoff Game)尼姆博奕(Nimm Game)
巴什博奕(Bash Game):只有一堆n个物品,两个人轮流从这堆物品中取物,规定每次至少取一个,最多取m个。最后取光者得胜。...
分类:其他好文   时间:2014-08-28 00:58:38    阅读次数:243
Jump Game II <LeetCode>
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-08-28 00:47:28    阅读次数:263
杭电1279 Stone Game(经典博弈)
Stone Game Time Limit: 5000/1000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 2539    Accepted Submission(s): 741 Problem Description This game is a two-p...
分类:其他好文   时间:2014-08-27 22:03:38    阅读次数:244
hdoj 3657 Game 【最小割】
题目:hdoj 3657 Game 分类: 题意:给出一个矩阵,里面有值,要求按规则取一定的数使得得分最大,规则如下: 1:规定一些格子必须要拿,得分为拿了的格子的值得和 2:拿相邻的格子的需减去所有2*(x | y) 分析:这是一个标准的求最小割的题目,做这个题目推荐先做一下hdoj 1659,讲解:点击打开链接 同样是格子类题目,限制为相邻的,那么我们可以按...
分类:其他好文   时间:2014-08-27 20:37:38    阅读次数:313
LeetCode 44 Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Your goal i...
分类:其他好文   时间:2014-08-27 18:45:28    阅读次数:228
Beans Game(博弈 | | DP)zoj 3057
Beans GameTime Limit: 5 Seconds Memory Limit: 32768 KBThere are three piles of beans. TT and DD pick any number of beans from any pile or the same num...
分类:其他好文   时间:2014-08-27 18:32:48    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!