随笔分类 -  模板

摘要:P3372 【模板】线段树 1 #include<cstdio> #include<iostream> using namespace std; #define MAXN 1000099 #define LLD long long int #define ls id*2 #define rs id* 阅读全文
posted @ 2019-07-26 10:28 D_O_Time 阅读(142) 评论(0) 推荐(0)
摘要:洛谷:P3391 【模板】文艺平衡树(Splay) #include <algorithm> #include <cstdio> #include <iostream> using namespace std; const int MAXN = 110000; int n, m, tp, root, 阅读全文
posted @ 2017-12-17 20:29 D_O_Time 阅读(408) 评论(0) 推荐(2)
摘要:洛谷:P3384 【模板】树链剖分 阅读全文
posted @ 2017-12-14 21:37 D_O_Time 阅读(155) 评论(0) 推荐(1)
摘要:洛谷:P3690 【模板】Link Cut Tree (动态树) 阅读全文
posted @ 2017-12-14 21:35 D_O_Time 阅读(452) 评论(0) 推荐(1)