摘要: Graph 缩点 点击查看代码 vector<int>e[N]; int dfn[N],low[N],tim; int st[N],top;bool in[N]; int bl[N],scc; void tarjan(int u){ dfn[u]=low[u]=++tim; st[++top]=u, 阅读全文
posted @ 2024-02-29 21:12 SError 阅读(18) 评论(0) 推荐(0) 编辑