摘要: Chinese people think of '8' as the lucky digit. Bob also likes digit '8'. Moreover, Bob has his own lucky number L. Now he wants to construct his luck 阅读全文
posted @ 2019-02-16 19:13 StarHai 阅读(335) 评论(0) 推荐(0) 编辑
摘要: Alice and Bob are playing a strange game. The rules of the game are: Now you are given the number of cells in each of the piles, you have to find the 阅读全文
posted @ 2019-02-16 18:59 StarHai 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Alice and Bob are playing game of Misère Nim. Misère Nim is a game playing on k piles of stones, each pile containing one or more stones. The players 阅读全文
posted @ 2019-02-16 18:56 StarHai 阅读(434) 评论(0) 推荐(0) 编辑
摘要: You are given an n x n chess board. Only pawn is used in the 'Incredible Chess' and they can move forward or backward. In each column there are two pa 阅读全文
posted @ 2019-02-16 18:52 StarHai 阅读(358) 评论(0) 推荐(0) 编辑
摘要: Jolly and Emily are two bees studying in Computer Science. Unlike other bees they are fond of playing two-player games. They used to play Tic-tac-toe, 阅读全文
posted @ 2019-02-16 18:44 StarHai 阅读(364) 评论(0) 推荐(0) 编辑