HDU 6060 17多校3 RXD and dividing(树+dfs)
摘要:Problem Description RXD has a tree T, with the size of n. Each edge has a cost.Define f(S) as the the cost of the minimal Steiner Tree of the set S on
阅读全文
NBUT 1218 You are my brother 2010辽宁省赛
摘要:Time limit 1000 ms Memory limit 131072 kB Little A gets to know a new friend, Little B, recently. One day, they realize that they are family 500 years
阅读全文