bzoj1601专题

bzoj1601[Usaco2008 Oct]灌水(最小生成树)

展开 题目背景 John的农场缺水了!!! 题目描述 Farmer John has decided to bring water to his N (1 <= N <= 300) pastures which are conveniently numbered 1…N. He may bring water to a pasture either by building a well in t