disjoint sets data structure

welcome to shbcf.ru