上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 66 下一页
摘要: 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 阅读(195) 评论(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 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 1031: [JSOI2007]字符加密Cipher Description 喜欢钻研问题的JS同学,最近又迷上了对加密方法的思考。一天,他突然想出了一种他认为是终极的加密办法 :把需要加密的信息排成一圈,显然,它们有很多种不同的读法。例如下图,可以读作: JSOI07 SOI07J OI07JS 阅读全文
posted @ 2016-10-27 21:49 meekyan 阅读(295) 评论(0) 推荐(0) 编辑
摘要: Substring Problem Description ?? is practicing his program skill, and now he is given a string, he has to calculate the total number of its distinct s 阅读全文
posted @ 2016-10-26 22:01 meekyan 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Milk Patterns Description Farmer John has noticed that the quality of milk given by his cows varies from day to day. On further investigation, he disc 阅读全文
posted @ 2016-10-25 22:01 meekyan 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Life Forms Description You may have wondered why most extraterrestrial life forms resemble humans, differing by superficial traits such as height, col 阅读全文
posted @ 2016-10-25 21:33 meekyan 阅读(341) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 66 下一页