白书上的dijkstra+堆优化/dijkstra的一些性质
摘要:
模板#include #include #include #include #include #include using namespace std; const int maxn=11111;
const int maxm=11111;
const int INF=1e9; struct Edge{ int from,to,dist;
}; struct HeapNode{ int d,u; bool operatorrhs.d; }
}; struct Dijkstra{ int n,m; vector edges;
... 阅读全文
posted @ 2013-05-23 06:23 电子幼体 阅读(180) 评论(0) 推荐(0)
浙公网安备 33010602011771号