堆优化dij
摘要:
#include #include #include using namespace std; int n,m,S,tot,Next[500010],head[20000],tree[500010],val[500010]; bool visit[20000]; long long dis[20000]; struct cmp { bool operator()(int a,int b)... 阅读全文
posted @ 2019-02-24 22:34 Esquecer 阅读(278) 评论(0) 推荐(0)
浙公网安备 33010602011771号