摘要: Description Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wants to grow som... 阅读全文
posted @ 2015-08-28 21:55 UniqueColor 阅读(174) 评论(0) 推荐(0)
摘要: DescriptionFarmer Johnson's Bulls love playing basketball very much. But none of them would like to play basketball with the other bulls because they ... 阅读全文
posted @ 2015-08-28 20:23 UniqueColor 阅读(265) 评论(0) 推荐(0)
摘要: DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a... 阅读全文
posted @ 2015-08-28 19:26 UniqueColor 阅读(210) 评论(0) 推荐(0)
摘要: DescriptionKing George has recently decided that he would like to have a new design for the royal graveyard. The graveyard must consist of several sec... 阅读全文
posted @ 2015-08-28 18:31 UniqueColor 阅读(244) 评论(0) 推荐(0)
摘要: DescriptionSome positive integers can be represented by a sum of one or more consecutive prime numbers. How many such representations does a given pos... 阅读全文
posted @ 2015-08-28 17:41 UniqueColor 阅读(298) 评论(0) 推荐(0)
摘要: DescriptionSignals of most probably extra-terrestrial origin have been received and digitalized by The Aeronautic and Space Administration (that must ... 阅读全文
posted @ 2015-08-28 02:46 UniqueColor 阅读(388) 评论(0) 推荐(0)
摘要: DescriptionFJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 2 #include 3 #include 4 using namespace std; 5 #de... 阅读全文
posted @ 2015-08-28 01:33 UniqueColor 阅读(256) 评论(0) 推荐(0)
摘要: DescriptionGiven a number of distinct decimal digits, you can form one integer by choosing a non-empty subset of these digits and writing them in some... 阅读全文
posted @ 2015-08-27 22:43 UniqueColor 阅读(235) 评论(0) 推荐(0)
摘要: DescriptionOh those picky N (1 >>>>>>>>>>>>>>>>>>>>>>>>>>Stall 2 .. c2>>>>>> c4>>>>>>>>> .. ..Stall 3 .. .. c3>>>>>>>>> .. .. .. ..Stall 4 .. .. .. c5 阅读全文
posted @ 2015-08-27 20:38 UniqueColor 阅读(173) 评论(0) 推荐(0)
摘要: Problem Description Coach Pang and Uncle Yang both love numbers. Every morning they play a game with number together. In each game the following will... 阅读全文
posted @ 2015-08-27 18:44 UniqueColor 阅读(243) 评论(0) 推荐(0)