摘要: 模板 B4016 树的直径 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 1e5+5; int n, p, dis[N]; vector<int> g[N]; inline int r 阅读全文
posted @ 2025-10-04 11:00 今添 阅读(7) 评论(0) 推荐(0)