![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
博弈论
@Star
这个作者很懒,什么都没留下…
展开
-
小乐乐学博弈
链接:https://ac.nowcoder.com/acm/contest/301/I 来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 小乐乐和小皮蛋开始学习关于博弈的知识。 给定两堆石子,第一堆有n个石子,第二堆有m个石子。 每次操作可以从一堆石子中拿走一些石子,拿...原创 2018-12-02 11:37:38 · 569 阅读 · 0 评论 -
HDU - 1079 Calendar Game(博弈)
Adam and Eve enter this year’s ACM International Collegiate Programming Contest. Last night, they played the Calendar Game, in celebration of this contest. This game consists of the dates from Januar...原创 2019-03-19 17:30:40 · 112 阅读 · 0 评论 -
HDU - 1846 Brave Game (巴什博奕)
十年前读大学的时候,中国每年都要从国外引进一些电影大片,其中有一部电影就叫《勇敢者的游戏》(英文名称:Zathura),一直到现在,我依然对于电影中的部分电脑特技印象深刻。 今天,大家选择上机考试,就是一种勇敢(brave)的选择;这个短学期,我们讲的是博弈(game)专题;所以,大家现在玩的也是“勇敢者的游戏”,这也是我命名这个题目的原因。 当然,除了“勇敢”,我还希望看到“诚信”,无论考试成...原创 2019-03-19 18:12:34 · 182 阅读 · 0 评论 -
HDU - 1850 Being a Good Boy in Spring Festival (Nim博弈)+常见博弈模型
一年在外 父母时刻牵挂 春节回家 你能做几天好孩子吗 寒假里尝试做做下面的事情吧 陪妈妈逛一次菜场 悄悄给爸爸买个小礼物 主动地 强烈地 要求洗一次碗 某一天早起 给爸妈用心地做回早餐 如果愿意 你还可以和爸妈说 咱们玩个小游戏吧 ACM课上学的呢~ 下面是一个二人小游戏:桌子上有M堆扑克牌;每堆牌的数量分别为Ni(i=1…M);两人轮流进行;每走一步可以任意选择一堆并取走其中的任意张牌;桌子上...原创 2019-03-19 18:37:22 · 144 阅读 · 0 评论 -
HDU - 1851 A Simple Game
Agrael likes play a simple game with his friend Animal during the classes. In this Game there are n piles of stones numbered from 1 to n, the 1st pile has M 1 stones, the 2nd pile has M 2 stones, ......原创 2019-03-19 18:52:24 · 198 阅读 · 0 评论