摘要: Fxx and game Fxx and game 问题描述 青年理论计算机科学家Fxx给的学生设计了一款数字游戏。 一开始你将会得到一个数\:XX,每次游戏将给定两个参数\:k,tk,t, 任意时刻你可以对你的数执行下面两个步骤之一: 1.\:X = X - i(1 <= i <= t)1.X=X 阅读全文
posted @ 2016-10-29 21:53 meekyan 阅读(380) 评论(0) 推荐(1) 编辑
摘要: Chess Problem Description Alice and Bob are playing a special chess game on an n × 20 chessboard. There are several chesses on the chessboard. They ca 阅读全文
posted @ 2016-10-29 21:28 meekyan 阅读(167) 评论(0) 推荐(0) 编辑
摘要: A Simple Nim Problem Description Two players take turns picking candies from n heaps,the player who picks the last one will win the game.On each turn 阅读全文
posted @ 2016-10-29 17:08 meekyan 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Fibonacci again and again Problem Description 任何一个大学生对菲波那契数列(Fibonacci numbers)应该都不会陌生,它是这样定义的:F(1)=1;F(2)=2;F(n)=F(n-1)+F(n-2)(n>=3);所以,1,2,3,5,8,13… 阅读全文
posted @ 2016-10-29 16:26 meekyan 阅读(217) 评论(0) 推荐(0) 编辑
摘要: S-Nim Problem Description Arthur and his sister Caroll have been playing a game called Nim for some time now. Nim is played as follows: The starting p 阅读全文
posted @ 2016-10-29 16:16 meekyan 阅读(392) 评论(0) 推荐(0) 编辑
摘要: Be the Winner Problem Description Let's consider m apples divided into n groups. Each group contains no more than 100 apples, arranged in a line. You 阅读全文
posted @ 2016-10-29 15:05 meekyan 阅读(136) 评论(0) 推荐(0) 编辑
摘要: John Problem Description Little John is playing very funny game with his younger brother. There is one big box filled with M&Ms of different colors. A 阅读全文
posted @ 2016-10-29 15:01 meekyan 阅读(318) 评论(0) 推荐(0) 编辑
摘要: D. Developing Game Pavel is going to make a game of his dream. However, he knows that he can't make it on his own so he founded a development company 阅读全文
posted @ 2016-10-29 12:58 meekyan 阅读(285) 评论(0) 推荐(0) 编辑