This problem is used in private contest:[2020TIEI] Homework 1 for Advanced Algorithm: Union-Find Sets
[2021TIEI] Homework 1 for Advanced Algorithm: Union-Find Sets