这题解里面不是说了吗,有一篇SET的启发式合并,你手打平衡树肯定可以吧。 by Astatinear @ 2022-01-25 21:31:15
不过,平衡树是不是常数要大一些。。。 by YukinoYukinoshita @ 2022-01-25 21:38:11