![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
Adam_rek
这个作者很懒,什么都没留下…
展开
-
优先队列
#include #include #include #include #include #include #include #include using namespace std;class cmp{public: bool operator()(const __int64 a,const __int64 b)const原创 2014-08-13 16:40:18 · 186 阅读 · 0 评论 -
关于BFS搜索的思想, 最简单的水题,不过深有体会啊。
There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjacent tiles. But he can'原创 2014-08-13 11:23:00 · 291 阅读 · 0 评论