摘要: Problem Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N 阅读全文
posted @ 2016-05-28 20:08 邻家那小孩儿 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Problem Description You're in space.You want to get home.There are asteroids.You don't want to hit them. Input Input to this problem will consist of a 阅读全文
posted @ 2016-05-28 17:05 邻家那小孩儿 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Problem Description A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight m 阅读全文
posted @ 2016-05-28 15:12 邻家那小孩儿 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Problem Description Ignatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-1)的位 阅读全文
posted @ 2016-05-28 13:52 邻家那小孩儿 阅读(115) 评论(0) 推荐(0) 编辑