My solution for TREE INFECTION fails on test case 20.
The solution involves calculating numer of children for each node and is very similar to the editorial. only difference is that I calculate the extra days required for each node while I process the node.
Would be great if someone could help me out.