摘要: The Cow LexiconDescriptionFew know that the cows have their own dictionary with W (1 ≤ W ≤ 600) words, each containing no more 25 of the characters 'a... 阅读全文
posted @ 2014-11-13 15:25 Enumz 阅读(367) 评论(0) 推荐(0) 编辑
摘要: Round NumbersDescriptionThe cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Paper, Stone' (also known as 'Rock, Pap... 阅读全文
posted @ 2014-11-13 15:11 Enumz 阅读(320) 评论(0) 推荐(0) 编辑
摘要: Cow BowlingDescriptionThe cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up ... 阅读全文
posted @ 2014-11-13 13:08 Enumz 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: Prime PathDescriptionThe ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to chang... 阅读全文
posted @ 2014-11-13 12:53 Enumz 阅读(317) 评论(0) 推荐(0) 编辑
摘要: Antenna PlacementDescriptionThe Global Aerial Research Centre has been allotted the task of building the fifth generation of mobile phone nets in Swed... 阅读全文
posted @ 2014-11-13 12:47 Enumz 阅读(271) 评论(0) 推荐(0) 编辑
摘要: Number SequenceDescriptionA single positive integer i is given. Write a program to find the digit located in the position i in the sequence of number ... 阅读全文
posted @ 2014-11-08 09:10 Enumz 阅读(802) 评论(0) 推荐(0) 编辑
摘要: BitsLet's denote as the number of bits set ('1' bits) in the binary representation of the non-negative integer x.You are given multiple queries consis... 阅读全文
posted @ 2014-11-06 13:04 Enumz 阅读(283) 评论(0) 推荐(0) 编辑
摘要: Valuable ResourcesMany computer strategy games require building cities, recruiting army, conquering tribes, collecting resources. Sometimes it leads t... 阅读全文
posted @ 2014-11-06 12:47 Enumz 阅读(315) 评论(0) 推荐(0) 编辑
摘要: FactoryOne industrial factory is reforming working plan. The director suggested to set a mythical detail production norm. If at the beginning of the d... 阅读全文
posted @ 2014-11-06 12:36 Enumz 阅读(376) 评论(0) 推荐(0) 编辑
摘要: Seam CarvingDescriptionFish likes to take photo with his friends. Several days ago, he found that some pictures of him were damaged. The trouble is th... 阅读全文
posted @ 2014-11-05 17:48 Enumz 阅读(692) 评论(0) 推荐(0) 编辑