2018 CMUT BeihangU Contest, Editorial This editorial corresponds to [contest:102114] (stage 5), which was held on Aug 6th, 2018. Moreover, this problem set was also used as Jingzhe Tang Contest 1 in Petrozavodsk Winter Camp on Jan 30th, 2019.
**This post is now finished**, in which I try to elaborate on notes, solutions and maybe some data generating. Alternatively, you can refer to [an old published material](https://drive.google.com/file/d/1CFumWbNLTUEywkVDNF-LKT3SzYd1r15L/view), though I think the old English version did not explain something clearly.
---
[problem:102114A]
This problem requires to calculate $s$-$t$ min cut between any two vertices on a weighted cactus graph having $n$ vertices, denoted by $\mathrm{flow}(s, t)$. You need to report $\sum_{s < t}{(s \oplus t \oplus \mathrm{flow}(s, t))}$.
$n \leq 10^5$, $\sum{n} \leq 10^6$, weights are $\leq 10^9$.
Try to find some features of this graph.
<spoiler summary="solution">
By contradiction, we can prove that for an undirected graph, each ed...
2018 CMUT BeihangU Contest, Editorial, Semifinal 1 500](https://community.topcoder.com/stat
?c=problem_statement&pm=11526), created by, This editorial corresponds to [contest:102114] (stage 5), which was held on Aug
6th,2018. Moreover
Full text and comments »