Live2D

随笔分类 -  数据结构——树链剖分

摘要:还是树剖模板啊QwQ #include<cstdio> #include<iostream> #include<cstring> #include<algorithm> #define maxn 600100 using namespace std; struct node { long long 阅读全文
posted @ 2019-11-08 16:47 Hoyoak 阅读(94) 评论(0) 推荐(0)
摘要:树剖模板+1 记得开long long #include<cstdio> #include<iostream> #include<cstring> #include<algorithm> #define maxn 100010 using namespace std; struct node { i 阅读全文
posted @ 2019-11-08 00:44 Hoyoak 阅读(89) 评论(0) 推荐(0)
摘要:树剖板子QwQ #include<cstdio> #include<iostream> #include<cstring> #include<algorithm> #define maxn 100010 using namespace std; typedef long long ll; struc 阅读全文
posted @ 2019-11-07 23:16 Hoyoak 阅读(134) 评论(0) 推荐(0)
摘要:Orz #include<cstdio> #include<iostream> #include<cstring> #include<algorithm> #define maxn 500010 using namespace std; struct node { int ed,nxt; }; no 阅读全文
posted @ 2019-11-07 17:25 Hoyoak 阅读(117) 评论(0) 推荐(0)
摘要:1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 4 #include<algorithm> 5 #define maxn 100010 6 7 using namespace std; 8 9 struct node 10 { 阅读全文
posted @ 2019-11-07 16:57 Hoyoak 阅读(156) 评论(0) 推荐(0)