摘要: Can you find it? Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/10000 K (Java/Others) Total Submission(s): 6083 Accepted Submiss... 阅读全文
posted @ 2012-11-07 23:33 N3verL4nd 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5387 Accepted: 3066 Description 定义一个二维数组: int maze[5][5] = { 0, 1, ... 阅读全文
posted @ 2012-11-07 16:24 N3verL4nd 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 刚学搜索,不知道剪枝的重要性。 超时代码: #include#include#includeusing namespace std;char maps[10][10];const int moves[4][2] = {{0,-1},{0,1},{1,0},{-1,0}};int m,n,t,d... 阅读全文
posted @ 2012-11-07 07:38 N3verL4nd 阅读(136) 评论(0) 推荐(0) 编辑