Problem F. Grab The Tree HDU - 6324(思维+博弈)

Problem F. Grab The Tree HDU - 6324 Little Q and Little T are playing a game on a tree. There are n vertices on the tree, labeled by 1,2,…,n, connec...

2018-07-31 10:11:34

阅读数:171

评论数:0

Game of Taking Stones HDU - 5973(java高精度二分开根号+威佐夫博弈)

Game of Taking Stones HDU - 5973 Two people face two piles of stones and make a game. They take turns to take stones. As game rules, there are two ...

2018-07-22 09:50:50

阅读数:50

评论数:0

Return of the Nim(尼姆博弈+威佐夫博弈)

Return of the NimProblem DescriptionSherlock and Watson are playing the following modified version of Nim game:There are n piles of stones denoted as...

2018-05-03 18:51:58

阅读数:32

评论数:0

Ithea Plays With Chtholly (模拟)

Ithea Plays With Chtholly This is an interactive problem. Refer to the Interaction section below for better understanding.Ithea an...

2018-04-19 17:50:20

阅读数:46

评论数:0

(qdulq-2016-c-B)取球博弈(6 point(s))

(qdulq-2016-c-B)取球博弈(6 point(s))两个人玩取球的游戏。一共有N个球,每人轮流取球,每次可取集合{n1,n2,n3}中的任何一个数目。 如果无法继续取球,则游戏结束。 此时,持有奇数个球的一方获胜。 如果两人都是奇数,则为平局。 假设双方都采用最聪明的取法,第一...

2018-02-18 11:30:44

阅读数:97

评论数:0

Play a game (博弈论)

Play a game New Year is Coming! ailyanlu is very happy today! and he is playing a chessboard game with 8600. The size of the chessboard is...

2018-01-28 16:22:48

阅读数:87

评论数:0

Coin Game HDU - 3951 (简单博弈)

Coin Game HDU - 3951 After hh has learned how to play Nim game, he begins to try another coin game which seems much easier. The game...

2018-01-27 15:43:19

阅读数:91

评论数:0

A Multiplication Game (博弈)

A Multiplication Game Stan and Ollie play the game of multiplication by multiplying an integer p by one of the numbers 2 to 9. Stan always start...

2017-11-28 21:32:50

阅读数:126

评论数:0

Being a Good Boy in Spring Festival HDU - 1850

Being a Good Boy in Spring Festival  HDU - 1850  一年在外 父母时刻牵挂  春节回家 你能做几天好孩子吗  寒假里尝试做做下面的事情吧  陪妈妈逛一次菜场  悄悄给爸爸买个小礼物  主动地 强烈地 要求洗一次碗  某一天早起 给爸妈用心地做回早...

2017-11-23 19:45:27

阅读数:75

评论数:0

Spider Man CodeForces - 705B

Spider Man CodeForces - 705B Peter Parker wants to play a game with Dr. Octopus. The game is about cycles. Cycle is a sequence of verti...

2017-11-23 16:52:45

阅读数:102

评论数:0

博弈论模板

博弈论(巴什博奕,威佐夫博弈,尼姆博弈,斐波那契博弈) 原博客地址 一.  巴什博奕(Bash Game):   A和B一块报数,每人每次报最少1个,最多报4个,看谁先报到30。这应该是最古老的关于巴什博奕的游戏了吧。 其实如果知道原理,这游戏一点运气成分都没有,只和先手后手有关,...

2017-11-16 16:21:02

阅读数:95

评论数:0

Good Luck in CET-4 Everybody! HDU - 1847 (巴氏博弈)

Good Luck in CET-4 Everybody!  HDU - 1847  大学英语四级考试就要来临了,你是不是在紧张的复习?也许紧张得连短学期的ACM都没工夫练习了,反正我知道的Kiki和Cici都是如此。当然,作为在考场浸润了十几载的当代大学生,Kiki和Cici更懂得考...

2017-11-16 16:13:54

阅读数:90

评论数:0

悼念512汶川大地震遇难同胞——选拔志愿者 HDU - 2188 (巴氏博弈)

悼念512汶川大地震遇难同胞——选拔志愿者  HDU - 2188  对于四川同胞遭受的灾难,全国人民纷纷伸出援助之手,几乎每个省市都派出了大量的救援人员,这其中包括抢险救灾的武警部队,治疗和防疫的医护人员,以及进行心理疏导的心理学专家。根据要求,我校也有一个奔赴灾区救灾的名额,由于广...

2017-11-16 16:12:29

阅读数:130

评论数:0

经典博弈算法三大模板

转自:http://colorfulshark.cn/wordpress/巴氏(bash)威佐夫(wythoff)尼姆(nim)博弈之模板-823.html 最近研究了一下博弈论(听起来很高大上),当然,这只是博弈论中的冰山一角,但不可否认,巴氏(bash)博弈,威佐夫(Wythoff)博弈和尼姆...

2017-09-15 15:53:56

阅读数:470

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭