随笔分类 - 例题合集 / 主席树
【主席树】P3919 【模板】可持久化线段树 1
摘要:P3919 【模板】可持久化线段树 1(可持久化数组) - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) #include <bits/stdc++.h> using namespace std; using i64 = long long; template<class Node>
【主席树】P3834 【模板】可持久化线段树 2
摘要:P3834 【模板】可持久化线段树 2 - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) #include <bits/stdc++.h> using namespace std; using i64 = long long; template<class Node> struct