dfs序
文章平均质量分 80
SSCTTSQQ
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
BZOJ 3729: Gty的游戏
题目链接:https://www.lydsy.com/JudgeOnline/problem.php?id=3729题解:阶梯博弈+splay树维护dfs序列因为splay操作被tle到死code:#include <iostream> #include <cstring> #include <cstdio> #include <algorithm>...原创 2018-03-28 19:54:23 · 360 阅读 · 0 评论 -
Codeforces Round #475 (Div. 1) B. Destruction of a Tree
题目:http://codeforces.com/contest/963/problem/BB. Destruction of a Treetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a tree (a graph...原创 2018-04-22 00:52:52 · 310 阅读 · 0 评论 -
CodeForces - 343D Water Tree
题目链接:http://codeforces.com/problemset/problem/343/D题意:D. Water Treetime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMad scientist Mike has construc...原创 2018-04-07 10:22:24 · 337 阅读 · 0 评论
分享