2020年2月1日
摘要: 阅读全文
posted @ 2020-02-01 18:10 qdu_lkc 阅读(105) 评论(0) 推荐(0) 编辑
摘要: Fat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each grid of this board is con 阅读全文
posted @ 2020-02-01 11:53 qdu_lkc 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Ignatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会. 魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-1)的位置,现在知道魔王将在T分钟后回到城堡, 阅读全文
posted @ 2020-02-01 11:42 qdu_lkc 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Pass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to meet. Especially a 阅读全文
posted @ 2020-02-01 11:09 qdu_lkc 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 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 every floor.The lift have just two 阅读全文
posted @ 2020-02-01 11:04 qdu_lkc 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, }; 它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能横着走或竖着走,不能斜着走,要 阅读全文
posted @ 2020-02-01 10:55 qdu_lkc 阅读(193) 评论(0) 推荐(0) 编辑