随笔分类 -  博弈论

摘要:You are playing a two player game. Initially there are n integer numbers in an array and player A and B get chance to take them alternatively. Each pl 阅读全文
posted @ 2019-10-27 15:13 Ellery_lrh 阅读(170) 评论(0) 推荐(0)
摘要:Stone Game II comes. It needs two players to play this game. There are some piles of stones on the desk at the beginning. Two players move the stones 阅读全文
posted @ 2019-10-21 21:54 Ellery_lrh 阅读(207) 评论(0) 推荐(0)
摘要:Two players take turns picking candies from n heaps,the player who picks the last one will win the game.On each turn they can pick any number of candi 阅读全文
posted @ 2019-10-21 13:11 Ellery_lrh 阅读(157) 评论(0) 推荐(0)
摘要:hdu1536: Arthur and his sister Caroll have been playing a game called Nim for some time now. Nim is played as follows: The starting position has a num 阅读全文
posted @ 2019-10-14 16:38 Ellery_lrh 阅读(187) 评论(0) 推荐(0)