摘要:
A Alien Sunset 暴力枚举t E L include using namespace std; typedef long long ll; const int maxn = 1e6+5; struct node{ int x,y,h; ll d; void in(){ scanf("%d 阅读全文
摘要:
"poj 1741" 1.选取一个点,把无根树变成有根树。通过树形dp的方式选择。用son记录点的子树大小,用F算出最大的子树,当F[x] include include include using namespace std; typedef long long ll; const int max 阅读全文
摘要:
D F 阅读全文