摘要: A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits eac... 阅读全文
posted @ 2017-01-10 16:02 xushukui 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Ignatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会. 魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-1)的位置,现在知道魔王将在T分钟后回到城堡,... 阅读全文
posted @ 2017-01-10 11:40 xushukui 阅读(112) 评论(0) 推荐(0) 编辑