摘要: 图论500题http://blog.csdn.net/luomingjun12315/article/details/47438607 【最小生成树+并查集】 1、hdu 1856 基础并查集★ /* 转化为图论模型 求一个图的最大联通分量 用并查集,每个联通分量用一个集合维护,最后求集合元素个数的 阅读全文
posted @ 2018-02-07 22:15 chsobin 阅读(120) 评论(0) 推荐(0) 编辑