摘要:
"题面" 主席树启发式合并,每次连边维护并查集,集合大小,求lca所需信息,合并两个树上的主席树, 重点看代码. cpp include include include include include using namespace std; const int N = 8e4 + 1, M = 2 阅读全文
摘要:
"题面" Source: unordered_map: cpp include include include include using namespace std; const int maxM = 200005; define LL long long char mp[20][20]; int 阅读全文