ZhuFN's blog

最小生成树

P2916 [USACO08NOV]安慰奶牛Cheering up the Cow