摘要: tarjan大板子(非讲解): 1、普通缩点DGA void tarjan(int x){ dfn[x]=low[x]=++cntp; q.push(x);v[x]=1; for(int i=head[x];i;i=bi[i].next){ int j=bi[i].to; if(!dfn[j]){ 阅读全文
posted @ 2024-03-13 14:46 lzrG23 阅读(11) 评论(0) 推荐(0) 编辑