摘要: Description 小明对数的研究比较热爱,一谈到数,脑子里就涌现出好多数的问题,今天,小明想考考你对素数的认识。 问题是这样的:一个十进制数,如果是素数,而且它的各位数字和也是素数,则称之为“美素数”,如29,本身是素数,而且2+9 = 11也是素数,所以它是美素数。 给定一个区间,你能... 阅读全文
posted @ 2015-08-17 21:12 简约。 阅读(238) 评论(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 rabbit ... 阅读全文
posted @ 2015-08-17 16:39 简约。 阅读(105) 评论(0) 推荐(0) 编辑