摘要: HDOJ 1241 Oil Deposits【最大连通块 dfs】题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=1241输入那里很烦。。。 1 #include 2 #include 3 #include 4 #include 5 using name... 阅读全文
posted @ 2015-08-02 19:58 快扶哀家去刷题 阅读(245) 评论(0) 推荐(0) 编辑
摘要: POJ 3984 迷宫问题【迷宫最短路径 bfs】题目链接 http://poj.org/problem?id=3984#include#include#includeusing namespace std;const int MAXL = 10; // 矩阵最大宽度char maze[MAXL][... 阅读全文
posted @ 2015-08-02 15:28 快扶哀家去刷题 阅读(184) 评论(0) 推荐(0) 编辑