【hdu1213】How Many Tables【并查集】

Problem Description Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs at least. You have to notice that not all the friend
相关文章
相关标签/搜索