摘要: #include#include#include#include#include#define maxn 102000#define maxm 400100using namespace std;int e[maxn],ne[maxm],v[maxm];int nn;int val[maxn];int dp[maxn][2];int pre[maxn];void add(int x,int y){ ne[++nn]=e[x],e[x]=nn,v[nn]=y; }int n,m;int low[maxn],dfn[maxn],tot;void tarjan(int x){ low[x]=d... 阅读全文
posted @ 2014-03-24 21:23 wangyucheng 阅读(597) 评论(0) 推荐(0) 编辑