某島

… : "…アッカリ~ン . .. . " .. .
October 16, 2014

HackerRank Weekly Challenges – Week 11

https://www.hackerrank.com/contests/w11

Problem C. Tree Pruning
給定一顆點權樹,權值可為負。。你可以刪除之多 k 個子樹。
問剩下節點權值和最大是多少。

Problem D. Training the Army