摘要: 传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=3052 http://uoj.ac/problem/58 【题解】 树上莫队+带修改,分块大小n^(2/3)即可。 复杂度O(n^(5/3)) # include <math.h> # incl 阅读全文
posted @ 2017-06-15 09:18 Galaxies 阅读(194) 评论(0) 推荐(0) 编辑