并查集 ---- 扩展域并查集判二分图 + 循环模拟字典树 The 2020 ICPC Asia Macau Regional Contest C. Club Assignment (详解)
题目链接题目大意:有n个数,现在要把他们拆分成两个集合,假设S为集合,有如下定义:f(S)={min(x⊕y)∣x,y∈S,and x!=y}f(S)=\{min(x\oplusy)|x,y\inS,and\;x!=y\}f(S)={min(x⊕y)∣x,y∈S,andx!=y}将n个数拆分为两个集合A,B,要求最大化min(f(A),f(B))min(f(A),f(B))min(f(A),f(