tarjan
19992144
这个作者很懒,什么都没留下…
展开
-
711D
D. Directed Roadstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder and Chris the Baboon has explored Uday原创 2016-08-30 13:53:39 · 208 阅读 · 0 评论 -
tarjan
void tarjan(int u){ dfn[u]=low[u]=++stamp; used[u]=1;//进栈 s.push(u); for(int i=0;i { int v=graph[u][i]; if(used[v]==0) { tarjan(v);//原创 2016-08-30 14:05:24 · 164 阅读 · 0 评论