摘要: 很少用bfs进行最短路搜索,实际BFS有时候挺方便得,省去了建图以及复杂度也降低了O(N*M);UVA 11624 写的比较挫#include #include #include #include using namespace std;struct node{ int ft; int ... 阅读全文
posted @ 2014-05-24 21:54 KRisen 阅读(325) 评论(0) 推荐(0) 编辑