码迷,mamicode.com
首页 >  
搜索关键字:game    ( 5568个结果
P2964 [USACO09NOV]硬币的游戏A Coin Game
题目描述 Farmer John's cows like to play coin games so FJ has invented with a new two-player coin game called Xoinc for them. Initially a stack of N (5 <= ...
分类:其他好文   时间:2019-10-08 00:58:08    阅读次数:145
Tree Recovery
Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital letters in t ...
分类:其他好文   时间:2019-10-07 21:48:56    阅读次数:117
DynamoDB 流 和 AWS Lambda 触发器
Amazon DynamoDB 与 AWS Lambda 集成,使您能够创建触发器 — 自动响应 DynamoDB 流 中的事件的代码片段。利用触发器,您可以创建应对 DynamoDB 表中的数据修改的应用程序。 如果您在表中启用 DynamoDB 流,则可以将流 Amazon 资源名称 (ARN) ...
分类:数据库   时间:2019-10-07 19:31:45    阅读次数:181
vjudge A Funny Game 思维题 (其实今天讲的全是数学。。。)
原文链接https://vjudge.net/contest/331993#problem/H Alice and Bob decide to play a funny game. At the beginning of the game they pick n(1 <= n <= 10 6) co ...
分类:其他好文   时间:2019-10-06 20:58:13    阅读次数:128
Codeforces Round #586 (Div. 1 + Div. 2) C. Substring Game in the Lesson
链接: https://codeforces.com/contest/1220/problem/C 题意: Mike and Ann are sitting in the classroom. The lesson is boring, so they decided to play an inte ...
分类:其他好文   时间:2019-10-06 11:12:25    阅读次数:127
硬币游戏2&&Cutting Game——Grundy值
Grundy值 当前状态的Grundy值就是除任意一步所能转移到的状态的Grundy值以外的最小非负整数, 以硬币问题一为例,可写成: Grundy值有什么用呢? 它的作用是巨大的,利用它,不光可以解决这个问题,其它许多问题都可以转换成前面介绍的Nim问题,即问题的解等于子问题的异或和。 Nim问题 ...
分类:其他好文   时间:2019-10-05 22:16:00    阅读次数:93
Game restart!
虽然还有好几个月,提前给自己生日礼物——一个艰巨的任务。 永不后退! 虽然游戏已经被放弃了,也许什么都不做更好一些,但我果然还是那种不作死就难受的家伙。我大约明白为什么自己每一次都能撑下来了,一定是讨厌什么都不能做也不能冒险的生活吧。 好了,那么,虽然是我这种人——对不起啦!这一次如果因为再次尝试振 ...
分类:其他好文   时间:2019-10-05 20:13:21    阅读次数:84
Educational Codeforces Round 73 (Rated for Div. 2) A. 2048 Game
链接: https://codeforces.com/contest/1221/problem/A 题意: You are playing a variation of game 2048. Initially you have a multiset s of n integers. Every i ...
分类:其他好文   时间:2019-10-05 16:09:14    阅读次数:90
Strategic game POJ - 1463 【最小点覆盖集】
Bob enjoys playing computer games, especially strategic games, but sometimes he cannot find the solution fast enough and then he is very sad. Now he h ...
分类:其他好文   时间:2019-10-05 14:16:24    阅读次数:167
A Funny Game——打表&&找规律
题目 n枚硬币排成一个圈。Alice和Bob轮流从中取一枚或两枚硬币。不过,取两枚时,所取的两枚硬币必须是连续的。硬币取走之后留下空格,相隔空格的硬币视为不连续。Alice开始先取,取走最后一枚硬币的获胜。当双方都采取最有策略时,谁会获胜? 分析 不管,先爆搜找规律。 规律很明显,小于等于2先手赢, ...
分类:其他好文   时间:2019-10-05 12:49:02    阅读次数:86
5568条   上一页 1 ... 44 45 46 47 48 ... 557 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!