某岛

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

HackerRank Weekly Challenges – Week 11

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

Problem C. Tree Pruning
给定一颗点权树,权值可为负。。你可以删除之多 k 个子树。
问剩下节点权值和最大是多少。

Problem D. Training the Army