03 2017 档案
摘要:摘自Codeforces博客 With dsu on tree we can answer queries of this type: How many vertices in subtree of vertex v has some property in O(n lg n) time (for
阅读全文
摘要:题目链接 1 #include<stdio.h> 2 #include<string.h> 3 #include<algorithm> 4 #include<math.h> 5 #include<iostream> 6 #include<stdlib.h> 7 #include<set> 8 #in
阅读全文

浙公网安备 33010602011771号