08 2020 档案
摘要:点分治 POJ-1741 #include <cstdio> #include <algorithm> using namespace std; const int N = 10010; const int INF = 0x3f3f3f3f; int n, k, ans; int head[N],
阅读全文
摘要:POJ-1655 Balancing Act(树的重心) 题目链接:Balancing Act #include <cstdio> #include <vector> #include <algorithm> using namespace std; const int N = 100010; co
阅读全文
