摘要: #include using namespace std; const int maxn=1e5+10; int tot=0; int head[maxn],nxt[maxn],ver[maxn],edge[maxn];// head nxt中存tot的下标 void add(int u,int v,int w) // 加入有向边(u,v)权值为w { ver[++tot]=v; ... 阅读全文
posted @ 2019-03-31 16:57 paranoid。 阅读(125) 评论(0) 推荐(0) 编辑