2015年4月30日

HDU 1010 Tempter of the Bone

摘要: 题意:一个n*m的迷宫,从起点到终点,问是否恰能在t个单位时间到达;思路:dfs遍历各种可能情况,奇偶剪枝;#include#include#include#include#includeusing namespace std;char mm[55][55];int vis[55][55];int ... 阅读全文

posted @ 2015-04-30 23:04 大树置林 阅读(129) 评论(0) 推荐(0) 编辑

导航