摘要: #include #include #include #include #include using namespace std; const int N=1010; int n,m,link[N],e; bool vis[N]; vector G[N]; bool can(int u){ for(int i=0;i<G[u].size();i++){ int v=G[u][i... 阅读全文
posted @ 2017-09-27 21:20 wqtnb_tql_qwq_%%% 阅读(95) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; const int N=100010; int n,m,sum,dfs_clock; vector G[N]; int pre[N],low[N],iscut[N]; int dfs(int u,int fa){ int lowu=pre[u]=++dfs_clock; int child=0; for(int i=0;i=p... 阅读全文
posted @ 2017-09-27 20:05 wqtnb_tql_qwq_%%% 阅读(109) 评论(0) 推荐(0) 编辑