meeting 2019牛客暑期多校訓練營(第四場)

題目連接:https://ac.nowcoder.com/acm/contest/884/A 用給的那些點建樹,求樹的直徑就行 昨天就作了一個,不想搞acm了,我真佩服我居然能堅持到如今。。。c++ #include <bits/stdc++.h> using namespace std; const int maxN=1e5+5; int N,K,x[maxN],dis[maxN]; int h
相關文章
相關標籤/搜索