2019牛客国庆day4 (2017湘潭 H) 树的直径
#include <bits/stdc++.h>
using namespace std;
typedef pair<int,int> piir;
typedef long long ll;
const int maxn = 1e5+5;
const int INF = 0x3f3f3f3f;
int n;
bool vis[maxn];
ll dist1[maxn],di...
原创
2019-10-05 09:53:24 ·
157 阅读 ·
0 评论