摘要:
int tot,bel[MAXV+D];//tot代表强连通分量总数,bel数组代表点属于第几个连通分量 int dfn[MAXV+D],low[MAXV+D],ind=0; int stack[MAXV+D],top; bool ins[MAXV+D]; void tarjan(int x) { dfn[x]=low[x]=++ind; ins[stack[++top]=... 阅读全文
posted @ 2018-04-05 20:42
mybing
阅读(135)
评论(0)
推荐(0)

浙公网安备 33010602011771号