摘要: 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 阅读全文
posted @ 2018-10-26 17:28 *starry* 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Digital Deletions 题意:一串由0~9组成的数字,可以进行两个操作:1、把其中一个数变为比它小的数;2、把其中一个数字0及其右边的所以数字删除。两人轮流进行操作,最后把所以数字删除的人获胜,问前者胜还是后者胜。字符串长度为1-6,前者胜输出Yes,否则输出No. 题解:具体看代码。 阅读全文
posted @ 2018-10-26 17:12 *starry* 阅读(353) 评论(0) 推荐(0) 编辑