摘要: ``` #include using namespace std; const int maxn=2e5+10; int fi[maxn],ne[maxn],v[maxn],w[maxn]; struct re { int x,y,z; }; re a[maxn]; int fa[maxn]; int t=-1; bool cmp(re a,re b) { return a.z>n>>m; for 阅读全文
posted @ 2020-02-22 12:57 xlinsist 阅读(108) 评论(0) 推荐(0)
摘要: dijkstra 阅读全文
posted @ 2020-02-22 12:17 xlinsist 阅读(97) 评论(0) 推荐(0)