[List] Some Interesting Problems about Games

Posted patt

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[List] Some Interesting Problems about Games相关的知识,希望对你有一定的参考价值。

ABC059D Alice & Brown

In this game, there are two piles initially consisting of $X$ and $Y$ stones, respectively. Alice and Brown alternately perform the following operation, starting from Alice:
Take $2i$ stones from one of the piles. Then, throw away $i$ of them, and put the remaining $i$ in the other pile. Here, the integer $i$ ($1le i$) can be freely chosen as long as there is a sufficient number of stones in the pile. The player who becomes unable to perform the operation, loses the game.

Official editorial:
技术图片

以上是关于[List] Some Interesting Problems about Games的主要内容,如果未能解决你的问题,请参考以下文章

hdu 3304 Interesting Yang Yui Triangle

An interesting combinational problem

[CF 747F]Igor and Interesting Numbers

HDU Interesting Yang Yui Triangle (Lucas定理)

Dart 的 List 的“some”方法叫啥?检查至少一个元素是不是通过测试的方法

Can you share some Scala List class examples?