摘要: ZOJ Problem Set - 2965Accurately Say "CocaCola"!Time Limit:1 Second Memory Limit:32768 KBIn a party held by CocaCola company, several students stand in a circle and play a game.One of them is selected as the first, and should say the number 1. Then they continue to count number from 1 one 阅读全文
posted @ 2011-07-02 22:45 Gavin Lipeng Ma 阅读(400) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 2947AbbreviationTime Limit:1 Second Memory Limit:32768 KBWhen a Little White meets another Little White:Little White A: (Surprised) !Little White B: ?Little White A: You Little White know "SHDC"? So unbelievable!Little White B: You are little white! Little white is you! W 阅读全文
posted @ 2011-07-02 16:43 Gavin Lipeng Ma 阅读(467) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 2932The Seven Percent SolutionTime Limit:1 Second Memory Limit:32768 KBUniform Resource Identifiers (or URIs) are strings likehttp://icpc.baylor.edu/icpc/,mailto:foo@bar.org,ftp://127.0.0.1/pub/linux, or even justreadme.txtthat are used to identify a resource, usually on the Intern 阅读全文
posted @ 2011-07-02 16:25 Gavin Lipeng Ma 阅读(303) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 2970Faster, Higher, StrongerTime Limit:1 Second Memory Limit:32768 KBIn the year 2008, the 29th Olympic Games will be held in Beijing. This will signify the prosperity of China and Beijing Olympics is to be a festival for people all over the world as well.The motto of Olympic Games 阅读全文
posted @ 2011-07-02 15:56 Gavin Lipeng Ma 阅读(397) 评论(0) 推荐(0) 编辑
摘要: Daffodil numberTime Limit:1 Second Memory Limit:32768 KBThe daffodil number is one of the famous interesting numbers in the mathematical world. A daffodil number is a three-digit number whose value is equal to the sum of cubes of each digit.For example. 153 is a daffodil as 153 = 13+ 53+ 33.InputThe 阅读全文
posted @ 2011-07-02 15:44 Gavin Lipeng Ma 阅读(446) 评论(0) 推荐(0) 编辑