摘要:
E86 换根DP CF1324F Maximum White Subtree_哔哩哔哩_bilibili CF1324F Maximum White Subtree - 洛谷 // 换根DP O(n) #include <bits/stdc++.h> using namespace std; con 阅读全文
摘要:
E77 树上背包 P1272 重建道路_哔哩哔哩_bilibili P1272 重建道路 - 洛谷 // 树上背包 O(n*n) #include<bits/stdc++.h> #define N 155 using namespace std; int read(){ int d=0;char c 阅读全文