
acm_树
Lint_try
弱~弱~弱,发奋以屠强
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces 538 E. Demiurges Play Again
http://codeforces.com/contest/538/problem/E 瞎搞。。。原创 2015-08-07 17:02:16 · 693 阅读 · 0 评论 -
Codeforces 570 D. Tree Requests
http://codeforces.com/contest/570/problem/D 仔细想来,还真没做过一道dfs序的题.... 先将查询按深度排序,对于要操作的深度,将树上的这一层都放到树状数组上。查询的时候,就查询这颗子树内各个字母出现的个数。 #include using namespace std; typedef long long ll; #def原创 2015-08-14 13:37:08 · 964 阅读 · 0 评论