Help please!
Somebody please give some good approach.
https://www.codechef.com/JUNE17/problems/UNIONSET