![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
博弈
qq_37383726
这个作者很懒,什么都没留下…
展开
-
问题 K: QAQ and steel ball discs【博弈】
问题 K: QAQ and steel ball discs 时间限制: 1 Sec 内存限制: 128 MB 提交: 50 解决: 14 题目描述 "江山如画,无人许我一世繁华;墓柩之大,方寸之间亦是天下。"QAQ终究还是没能耐得住寂寞,和小伙伴一起踏上了盗墓之路...... QAQ和小伙伴一起来到了一个古老的青铜门前,门宽五丈五,高六丈,门中间却有一个由钢珠组成的原创 2017-03-05 19:25:44 · 368 阅读 · 1 评论 -
问题 : 分苹果【博弈】
问题 : 分苹果 时间限制: 1 Sec 内存限制: 128 MB 给定一堆共n个苹果,两个人轮流进行如下操作: 1,将这一堆苹果分成两堆,每堆的苹果数目必须不同; 2,另一个人选择其中一堆作为新的堆,开始下一轮操作。 直到某个人不能满足要求输掉比赛,游戏结束。 假设两个人都足够聪明——总会选择对自己最优的方案。 比如说有3个苹果,第一个人只能选择分两堆1、2,原创 2017-03-13 13:46:34 · 976 阅读 · 0 评论 -
巴士博弈 【总结】
总结链接原创 2017-05-29 11:02:49 · 880 阅读 · 0 评论 -
qwb has a lot of Coins 【Nim博弈】
Time Limit: 1 Sec Memory Limit: 128 MB Submit: 699 Solved: 220 [Submit][Status][Web Board] Description qwb has a lot of coins. One day, he decides to play a game with his friend using these coi原创 2017-06-03 10:11:24 · 204 阅读 · 0 评论 -
【FZU - 2275 】Game 【KMP and 博弈】
Alice and Bob is playing a game.Each of them has a number. Alice’s number is A, and Bob’s number is B.Each turn, one player can do one of the following actions on his own number: Flip: Flip the number.原创 2017-08-21 16:15:57 · 256 阅读 · 0 评论 -
【Codeforces Round #429 (Div. 2)】 A B C
A. Generous Kefa time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output One day Kefa found n baloons. For convenience, we denote color of i-th ba原创 2017-09-21 20:30:18 · 201 阅读 · 0 评论 -
【Wannafly挑战赛23】B 游戏【SG函数】
链接:https://www.nowcoder.com/acm/contest/161/B 来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 小N和小O在玩游戏。他们面前放了n堆石子,第i堆石子一开始有ci颗石头。他们轮流从某堆石子中取石子,不能不取。最后无法操作...原创 2018-09-01 20:01:34 · 136 阅读 · 0 评论