随笔分类 - 模板
摘要:P3372 【模板】线段树 1 #include<cstdio> #include<iostream> using namespace std; #define MAXN 1000099 #define LLD long long int #define ls id*2 #define rs id*
阅读全文
摘要:洛谷:P3391 【模板】文艺平衡树(Splay) #include <algorithm> #include <cstdio> #include <iostream> using namespace std; const int MAXN = 110000; int n, m, tp, root,
阅读全文
摘要:洛谷:P3690 【模板】Link Cut Tree (动态树)
阅读全文

浙公网安备 33010602011771号