【题解】sdoj3743[2018.8.10集训]C.连通能力 树的直径+树形DP

题目链接 #include<bits/stdc++.h> using namespace std; const int N=1e6+100; inline int Read() { int x=0,f=0;char ch=getchar(); while(ch<'0'||ch>'9')f|=ch=='-',ch=getchar(); while(ch>='0'&&ch<='9')x=(x<<
相关文章
相关标签/搜索