poj 3683
摘要:
艰难的ac。代码:#include<iostream>#include<fstream>#include<vector>using namespace std;vector<int> edge[2001],edge2[2001];int n,m;int v[2001],low[2001],dfn[2001],stack[2001],scc[2001],tot,index,top;void tarjan(int s){ int i,j,k; dfn[s]=low[s]=++index; stack[++top]=s; v[s]=1; for(i=0 阅读全文
posted @ 2011-03-19 20:48 宇宙吾心 阅读(594) 评论(0) 推荐(0)