BZOJ4033&&洛谷P3177 [HAOI2015]樹上染色

樹形揹包dpios dp我會講嘛?仍是這麼難的。。spa 大概思路就是一條邊的貢獻是它鏈接的兩個塊中的顏色個數bulabula的算了,盜個題解吧(背景是個人233).net 原文 code 代碼(個人是STL版的)blog //By AcerMo #include<cmath> #include<cstdio> #include<vector> #include<cstring> #include
相關文章
相關標籤/搜索