摘要: 1007 Tree 这道题的解题思路就是树形 dp,在求解过程中,尤其要注意 k 为0和1的时候的情况讨论。细节决定了这道题能不能A。 // Created by CAD #include <bits/stdc++.h> #define ll long long using namespace st 阅读全文
posted @ 2020-08-07 20:51 caoanda 阅读(256) 评论(0) 推荐(0) 编辑