DP on Tree with Prefix sum

Revision en1, by genesis, 2025-01-06 10:40:47

Can anyone please explain how this problem can be solved?

Tags dp, dp on a tree

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English genesis 2025-01-06 10:40:47 136 Initial revision (published)