摘要: Problem DescriptionThe Joseph\\\\\\\'s problem is notoriously known. For those who are not familiar with the original problem: from among n people, nu... 阅读全文
posted @ 2015-09-28 19:20 Traveller_Leon 阅读(353) 评论(0) 推荐(0) 编辑
摘要: Problem 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... 阅读全文
posted @ 2015-09-28 18:26 Traveller_Leon 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 描述滑动解锁是智能手机一项常用的功能。你需要在3x3的点阵上,从任意一个点开始,反复移动到一个尚未经过的"相邻"的点。这些划过的点所组成的有向折线,如果与预设的折线在图案、方向上都一致,那么手机将解锁。两个点相邻当且仅当以这两个点为端点的线段上不存在尚未经过的点。此外,这条折线还需要至少经过4个点。... 阅读全文
posted @ 2015-09-28 12:42 Traveller_Leon 阅读(690) 评论(0) 推荐(0) 编辑