POJ 1258 Agri-Net(最小生成树) && POJ 2377 Bad Cowtractors(最大生成树)
这是一个模版题,我也只是为了记录一下我中饭时手打的模版./*xzppp*/#include#include#include#include#include#include#include#includeusingnamespacestd;#defineFFFfreopen("in.txt","r",stdin);freopen("out.txt","w",stdout);#definelsonl,