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], 阅读全文
posted @ 2020-08-26 22:40 Nepenthe8 阅读(101) 评论(0) 推荐(0) 编辑
摘要:POJ-1655 Balancing Act(树的重心) 题目链接:Balancing Act #include <cstdio> #include <vector> #include <algorithm> using namespace std; const int N = 100010; co 阅读全文
posted @ 2020-08-25 19:42 Nepenthe8 阅读(81) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示