上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 35 下一页
摘要: " 题目链接 " 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 阅读全文
posted @ 2017-04-26 14:04 渡…… 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 描述 500年前,Jesse是我国最卓越的剑客。他英俊潇洒,而且机智过人^_^。 突然有一天,Jesse心爱的公主被魔王困在了一个巨大的迷宫中。Jesse听说这个消息已经是两天以后了,他知道公主在迷宫中还能坚持T天,他急忙赶到迷宫,开始到处寻找公主的下落。 <! more 时间一点一点的过去,Jes 阅读全文
posted @ 2017-04-26 13:50 渡…… 阅读(533) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " 描述 神秘的海洋,惊险的探险之路,打捞海底宝藏,激烈的海战,海盗劫富等等。加勒比海盗,你知道吧?杰克船长驾驶着自己的的战船黑珍珠1号要征服各个海岛的海盜,最后成为海盗王。 这是一个由海洋、岛屿和海盗组成的危险世界。面对危险重重的海洋与诡谲的对手,如何凭借智慧与运气,建立起一个强大的 阅读全文
posted @ 2017-04-26 13:32 渡…… 阅读(244) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Problem Description 在N N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角的斜线上。 你的任务是,对于给定的N,求出有多少种合法的放置方法。 Input 共有若干行,每行一个正整数N≤10,表 阅读全文
posted @ 2017-04-26 13:17 渡…… 阅读(242) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Problem Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a 阅读全文
posted @ 2017-04-26 12:51 渡…… 阅读(203) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " 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 <! more Input The in 阅读全文
posted @ 2017-04-26 11:27 渡…… 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 描述 All one knows Jesse live in the city , but he must come to Xiasha twice in a week. The road is too long for him to go . But he is so much resolute 阅读全文
posted @ 2017-04-26 11:08 渡…… 阅读(241) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Problem Description 给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,gloria想从迷宫的一个位置走到另外一个位置,当然迷宫中有些地方是空地,gloria可以穿越,有些地方是障碍,她必须绕行,从迷宫的一个位置,只能走到与它相邻的4个位置中,当然在行 阅读全文
posted @ 2017-04-26 10:51 渡…… 阅读(222) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Problem Description The Princess has been abducted by the BEelzebub feng5166, our hero Ignatius has to rescue our pretty Princess. Now he get 阅读全文
posted @ 2017-04-26 10:43 渡…… 阅读(164) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Problem Description Hogwarts正式开学以后,Harry发现在Hogwarts里,某些楼梯并不是静止不动的,相反,他们每隔一分钟就变动一次方向. 比如下面的例子里,一开始楼梯在竖直方向,一分钟以后它移动到了水平方向,再过一分钟它又回到了竖直方向.Harry发 阅读全文
posted @ 2017-04-26 10:32 渡…… 阅读(333) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 35 下一页