Why is this TLE?

Правка en2, от adityaaaaaaaaaaaaaaa, 2019-06-23 16:46:23

55968842 The question (337D - Book of Evil) is on dp on trees. I cant find out why this code is TLEing. Any help would be appreciated.

Теги #dp, #trees

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский adityaaaaaaaaaaaaaaa 2019-06-23 16:47:15 14
en2 Английский adityaaaaaaaaaaaaaaa 2019-06-23 16:46:23 19
en1 Английский adityaaaaaaaaaaaaaaa 2019-06-23 16:45:23 147 Initial revision (published)