Cut the tree

platform: hackerrank
competition: Weekly Challenges - Week 2
problem: cut-the-tree
status: acc
Huarongdao

platform: hackerrank
competition: Weekly Challenges - Week 2
problem: huarongdao
status: wa (70/100)