Блог пользователя snakeRing

Автор snakeRing, история, 3 года назад, По-английски

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.

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится