樹形dp
Problem - G - CodeforcesCodeforces. Programming competitions and contests, programming community
https://codeforces.com/group/EdIaLnPMK4/contest/102889/problem/G
神級bfs
Problem - A - CodeforcesCodeforces. Programming competitions and contests, programming community
https://codeforces.com/group/EdIaLnPMK4/contest/399629/problem/A
聯通子塊計數+換根dp
登入—專業IT筆試面試備考平台_牛客網牛客網是網際網路求職神器,C++、Java、前端、産品、營運技能學習/備考/求職題庫,線上進行百度阿裡騰訊網易等網際網路名企筆試面試模拟考試練習,和牛人一起讨論經典試題,全面提升你的技術能力
https://ac.nowcoder.com/acm/contest/39759/D
樹形dp
Problem - 1097G - CodeforcesCodeforces. Programming competitions and contests, programming community
http://codeforces.com/problemset/problem/1097/G
dpMEX counting - 洛谷
https://www.luogu.com.cn/problem/CF1608F
dp
[AGC002F] Leftmost Ball - 洛谷
https://www.luogu.com.cn/problem/AT2000
什麼最小異或生成樹
Problem - C - CodeforcesCodeforces. Programming competitions and contests, programming community
https://codeforces.com/group/t0XHpzFt15/contest/401370/problem/C
染色法+最小割
登入—專業IT筆試面試備考平台_牛客網牛客網是網際網路求職神器,C++、Java、前端、産品、營運技能學習/備考/求職題庫,線上進行百度阿裡騰訊網易等網際網路名企筆試面試模拟考試練習,和牛人一起讨論經典試題,全面提升你的技術能力
https://ac.nowcoder.com/acm/contest/43084/M