摘要:
Dijkstra(最短路求解) 模板: ~~~python include include include include include using namespace std; typedef __int64 LL; const int maxn = 2005; const int INF = 阅读全文
摘要:
spfa(最短路求解) 模板: ~~~python include include include include using namespace std; const int maxn = 105; const int maxm = 100005; struct Edge{ int to,w,ne 阅读全文