摘要: 做了些搜索的oj题,开始接触A*算法,在网上查到了一篇好的blog关于A*寻路的算法介绍,有兴趣的初学者可以学习一下! Look here :Johann FradjA星寻路算法介绍 阅读全文
posted @ 2014-08-05 21:45 tt_tt---> 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 出自http://poj.org/problem?id=1979 题意:简单递归回溯法 1 #include 2 using namespace std; 3 #define W 20 4 #define H 20 5 char block[W+1][H+1]; 6 int w,h; 7 i... 阅读全文
posted @ 2014-08-05 00:48 tt_tt---> 阅读(101) 评论(0) 推荐(0) 编辑