TREE INFECTION- Problem C- Codeforces Round #781 (Div. 2)

Правка en1, от snakeRing, 2022-04-10 16:35:19

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.

Теги sorting, implementation, tree

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский snakeRing 2022-04-10 16:35:19 425 Initial revision (published)