博弈
文章平均质量分 80
云淡风轻jzl
一路脚踏实地,不忘仰望星空。
展开
-
CodeForces-388C-Fox and Card Game-一分为二的博弈
题目描述:Fox Ciel is playing a card game with her friend Fox Jiro. There are n piles of cards on the table. And there is a positive integer on each card.The players take turns and Ciel takes the first turn. In Ciel’s turn she takes a card from the top of any原创 2021-01-24 11:01:06 · 262 阅读 · 1 评论 -
2018CCPC桂林站-Stone Game-排序贪心
题目描述:Alice and Bob are always playing game! The game today is about taking out stone from the stone piles in turn.There are n piles of stones, and the i-th pile contains A[i] stones.As the number of stones in each pile differs from its neighbor’s, they原创 2021-01-17 17:56:52 · 434 阅读 · 0 评论 -
牛客3006E-Enjoy the game-博弈
链接:https://ac.nowcoder.com/acm/contest/3006/E来源:牛客网题目描述:牛牛战队的三个队员在训练之余会自己口胡了一些题当做平时的益智游戏。有一天牛可乐想出了一个小游戏给另外两名队员玩,游戏规则如下:初始一共有n张卡牌先手第一步最少要拿1张牌,最多要拿n−1张牌。接下来每一步,双方最少要拿1张牌,最多拿等同于上一步对方拿的牌数的牌。拿走最后一张...原创 2020-02-13 19:50:32 · 414 阅读 · 0 评论 -
LightOJ1031-Easy Game-记忆化搜索+博弈
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 player can take one or more numbers from the left or...原创 2019-07-24 13:37:01 · 171 阅读 · 0 评论