摘要: 原题:DescriptionLittle Lesha loves listening to music via his smartphone. But the smartphone doesn't have much memory, so Lesha listens to his favorite ... 阅读全文
posted @ 2015-08-21 20:50 Shawn_Ji 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 原题:Descriptionnparticipants of the competition were split intomteams in some manner so that each team has at least one participant. After the competit... 阅读全文
posted @ 2015-08-21 20:37 Shawn_Ji 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 原题:DescriptionYou probably have played the game "Throwing Balls into the Basket". It is a simple game. You have to throw a ball into a basket from a c... 阅读全文
posted @ 2015-08-21 20:27 Shawn_Ji 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 原题:DescriptionAs Harry Potter series is over, Harry has no job. Since he wants to make quick money, (he wants everything quick!) so he decided to rob ... 阅读全文
posted @ 2015-08-21 20:20 Shawn_Ji 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 原题;Description大家常常感慨,要做好一件事情真的不容易,确实,失败比成功容易多了!做好“一件”事情尚且不易,若想永远成功而总从不失败,那更是难上加难了,就像花钱总是比挣钱容易的道理一样。话虽这样说,我还是要告诉大家,要想失败到一定程度也是不容易的。比如,我高中的时候,就有一个神奇的女生,... 阅读全文
posted @ 2015-08-21 20:14 Shawn_Ji 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 原题:DescriptionTomorrow is contest day, Are you all ready?We have been training for 45 days, and all guys must be tired.But , you are so lucky comparin... 阅读全文
posted @ 2015-08-21 20:10 Shawn_Ji 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 原题:DescriptionGirls are clever and bright. In HDU every girl like math. Every girl like to solve math problem!Now tell you two nonnegative integer a a... 阅读全文
posted @ 2015-08-21 20:04 Shawn_Ji 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 原题:Description 小明对数的研究比较热爱,一谈到数,脑子里就涌现出好多数的问题,今天,小明想考考你对素数的认识。 问题是这样的:一个十进制数,如果是素数,而且它的各位数字和也是素数,则称之为“美素数”,如29,本身是素数,而且2+9 = 11也是素数,所以它是美素数。 给定一个区间... 阅读全文
posted @ 2015-08-21 19:59 Shawn_Ji 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 原题:DescriptionThere is a hill with n holes around. The holes are signed from 0 to n-1.A rabbit must hide in one of the holes. A wolf searches the rabb... 阅读全文
posted @ 2015-08-21 19:55 Shawn_Ji 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 原题:DescriptionSometimes some mathematical results are hard to believe. One of the common problems is the birthday paradox. Suppose you are in a party ... 阅读全文
posted @ 2015-08-21 19:48 Shawn_Ji 阅读(218) 评论(0) 推荐(0) 编辑