Unionfind

Time Limit: 5 sec



C++(Function) header