
poj
complicated_world
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
poj3728
离线LCA+带权并查集原创 2017-08-29 09:14:55 · 418 阅读 · 0 评论 -
poj1475 推箱子
题意:将箱子推到目标位置,要求推箱子的次数最少思路:1.纯bfs 2.优先队列 3.A*优先队列注意记录路径用字符数组(实测1094MS)不用字符串(实测超时)#include <iostream> #include <cstring> #include <cstdio> #include <cstdlib> #include <string> #include <cmath> #inc原创 2017-10-03 11:04:34 · 360 阅读 · 0 评论