ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1039
. Anniversary Party
Hint : Dp on trees
Posted by
Pradyumna Bang
22 Oct 2015 09:45
Read the tutorial here :
https://threads-iiith.quora.com/Dynamic-Programming-on-Trees-Tutorial
Re: Hint : Dp on trees
Posted by
nasim
20 Sep 2017 15:24
where do you fill your dp?
is it in dfs?
I did that but it has a problem:(
Edited by author 20.09.2017 15:25
Edited by author 20.09.2017 15:25
© 2000–2024
Timus Online Judge Team
. All rights reserved.