hdu_1269, 强连通分量的学习
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=1269#include<cstdio>#include<cstring>const int maxn = 10000 + 10;struct Edge{ int to, next;}e[maxn*10];int head[maxn], index;int dfn[maxn], low[maxn];int belong[maxn], vis[maxn];int step, color;void add_edge(int u, int v){ e[index].to = v, e[inde 阅读全文
posted @ 2012-08-12 21:25 louzhang_swk 阅读(230) 评论(0) 推荐(0) 编辑