码迷,mamicode.com
首页 >  
搜索关键字:candy sharing game    ( 6263个结果
Unity应用怎么暂停(Pause)
很多时候,应用程序或者是游戏需要用上暂停功能,unity提供了不少便捷的方式,列在下面: 1、在editor中,按下pause按钮即可暂停 2、如果在代码中控制,可以通过设置Time.timeScale = 0来实现暂停。 3、如果你通过Time.timeScale = 0设置了暂停,但是你在某些地方还需要有动画之类的,那么可以在实现动画的地方用上Time.realtimeSince...
分类:其他好文   时间:2014-06-05 04:33:36    阅读次数:210
HDU 3649 New Game
HDU 3649 New Game 题目大意: 首先告诉你0或1,0表示红色先手,1表示黑色先手,接下来四个数字表示 红方 A,B,C,D四个子的位置,在接下来四个数字表示黑方 A,B,C,D四个子的位置。 游戏规则如下: (1) the piece red acm can be placed on A1~,A2,A3,A4,A5;the piece black acm A6~A10; (2) the piece red bahamas can place on B1~B5; the piece bla...
分类:其他好文   时间:2014-06-05 04:21:31    阅读次数:295
HLG 2116 Maximum continuous product (最大连续积 DP)
链接:  http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=2116 Description Wind and his GF(game friend) are playing a small game. They use the computer to randomly generated a nu...
分类:其他好文   时间:2014-06-03 02:17:13    阅读次数:252
[简单博弈] hdu 1525 Euclid's Game
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=1525 Euclid's Game Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1832    Accepted S...
分类:其他好文   时间:2014-06-03 01:38:06    阅读次数:255
hdu-4605-Magic Ball Game-线段树+离线操作
以前用树状数组做过一次,现在用线段树再刷一次。。。 首先必须先离散化。。。 然后建立2颗线段树,第一颗表示往左走,每个节点的值的分布。       第二颗表示往右走,每个节点的值的分布。 然后根据左右走的关系,判断出x,y的值。 #pragma comment(linker, "/STACK:1024000000,1024000000") #include #include #inclu...
分类:其他好文   时间:2014-06-03 01:25:54    阅读次数:315
poj 3388 Japanese Puzzle
DescriptionA brand-new Japanese puzzle is coming from the East to strike the world-popular Sudoku game and become an international hit. The rules of t...
分类:其他好文   时间:2014-06-02 20:44:37    阅读次数:303
poj3083(Children of the Candy Corn)
题目大意: 给你一个由“#” 、“.”、“S”、“E” .构成的图, “#”代表墙不可穿越,“.”代表空白,“S”代表起点,“E”代表重点,问你分别沿着左边走和右边走和最短路径各多少步。 即使这样说,题目还是不太明确,题意还是看不懂,下面简单介绍下具体的走法。 拿第一组测试数据为例子: ###...
分类:其他好文   时间:2014-06-02 09:20:12    阅读次数:599
HDU 4839 The Game of Coins 概率题。(母函数
The Game of Coins mark: #include"cstdio" #include"iostream" #include"queue" #include"algorithm" #include"set" #include"queue" #include"cmath" #include"string.h" #include"vector...
分类:其他好文   时间:2014-06-01 13:58:31    阅读次数:196
Children of the Candy Corn
Children of the Candy CornTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 9114Accepted: 3959DescriptionThe cornfield maze is a popular Hallow...
分类:其他好文   时间:2014-06-01 12:33:11    阅读次数:213
poj3083
Children of the Candy Corn Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 9108   Accepted: 3958 Description The cornfield maze is a popular Halloween treat....
分类:其他好文   时间:2014-06-01 10:28:57    阅读次数:292
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!