poj2524(并查集水题)

poj2524(并查集水题)
原文地址:https://www.cnblogs.com/zjl192628928/p/9438043.html