
博弈
心夏心冬
心夏心冬
展开
-
ZYB's Game
ZYBZYB played a game named NumberBombNumberBomb with his classmates in hiking:a host keeps a number in [1,N] in mind,then players guess a number in turns,the player who exactly guesses X loses,or the原创 2017-03-18 18:30:03 · 395 阅读 · 0 评论 -
ch追妹 博弈
Descriptionn个点的一张无向图,ch站在a点,ch要追的妹子站在b点。r_clover为了让ch安心训练,要阻止ch追妹。ch每走一步,r_clover就会挖断一条路。ch和r_clover均采用最优策略,问ch能不能追到妹子 Input第一行为数据组数T(T≤10)。 每组数据的第一行为四个数 n,m,a,b(1≤a,b≤n≤20; 1≤m≤80),分别表示点数,边数,ch的位置,妹子原创 2017-04-23 17:00:13 · 522 阅读 · 0 评论 -
***qwb has a lot of Coins nim博弈
Descriptionqwb has a lot of coins. One day, he decides to play a game with his friend using these coins. He first puts some of his coins into M piles, each of which is composed of Ni (1<=i<=M) coins. T原创 2017-06-04 23:02:52 · 276 阅读 · 0 评论 -
对称博弈
SOURSE&amp;NAME Warrior and Archer CodeForces - 594A http://codeforces.com/problemset/problem/594/A Sample Input 6 0 1 3 7 15 31 2 73 37 Sample Output 7 36 题意 W(战士 和 A(弓手 博弈 W尽量...原创 2018-03-11 18:23:33 · 276 阅读 · 0 评论