https://odzkskevi.qnssl.com/b660f16d70db1969261cd8b11235ec99?v=1537580031 [2012-2013 ACM Central Region of Russia Quarterfinal Programming Contest][J]computer network 题意: n个点,m条边,构成一个无向图,现在让你再任意连接两个点,使得整个图的割边最少. 1 ≤ n ≤ 10 000; 1≤ m ≤ 100 000; 1 ≤ xi…
#include <bits/stdc++.h> using namespace std; const int MAXN = 100005; const int MAXM = 500005; int n, m; int fir[MAXN], nxt[MAXM<<1], to[MAXM<<1], cnt = 1; int low[MAXN], dfn[MAXN], stk[MAXN], scc[MAXN], scccnt, indx, tmr; inline void A…