摘要: Problem DescriptionThere is a sequence ofnpositive integers. Fancycoder is addicted to learn their product, but this product may be extremely huge! Ho... 阅读全文
posted @ 2015-09-05 22:01 UniqueColor 阅读(281) 评论(0) 推荐(0) 编辑
摘要: DescriptionIt is a little known fact that cows love apples. Farmer John has two apple trees (which are conveniently numbered 1 and 2) in his field, ea... 阅读全文
posted @ 2015-09-05 18:39 UniqueColor 阅读(206) 评论(0) 推荐(0) 编辑
摘要: DescriptionFarmer John commanded his cows to search for different sets of numbers that sum to a given number. The cows use only numbers that are an in... 阅读全文
posted @ 2015-09-05 16:33 UniqueColor 阅读(267) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe New Year garland consists of N lamps attached to a common wire that hangs down on the ends to which outermost lamps are affixed. The wi... 阅读全文
posted @ 2015-09-05 15:50 UniqueColor 阅读(325) 评论(0) 推荐(0) 编辑
摘要: DescriptionFarmer John wants to set up a telephone line at his farm. Unfortunately, the phone company is uncooperative, so he needs to pay for some of... 阅读全文
posted @ 2015-09-05 15:14 UniqueColor 阅读(364) 评论(0) 推荐(0) 编辑