摘要: A strange lift Problem Description There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 <= Ki <= N) on 阅读全文
posted @ 2016-10-25 23:36 勿忘初心0924 阅读(929) 评论(0) 推荐(0) 编辑
摘要: 胜利大逃亡 Problem Description Ignatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1, 阅读全文
posted @ 2016-10-25 16:56 勿忘初心0924 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Rescue Problem Description Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. 阅读全文
posted @ 2016-10-25 15:35 勿忘初心0924 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Turn the corner Problem Description Mr. West bought a new car! So he is travelling around the city.One day he comes to a vertical corner. The street h 阅读全文
posted @ 2016-10-25 13:53 勿忘初心0924 阅读(310) 评论(0) 推荐(0) 编辑
摘要: find the nth digit Problem Description 假设:S1 = 1S2 = 12S3 = 123S4 = 1234.........S9 = 123456789S10 = 1234567891S11 = 12345678912............S18 = 1234 阅读全文
posted @ 2016-10-25 00:04 勿忘初心0924 阅读(363) 评论(0) 推荐(0) 编辑