ENG  RUSTimus 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 1087. The Time to Take Stones

Can you give me some hints?I know I should use DP,but i don't know how to solve it.
Posted by Chen Yuxi 15 May 2004 19:52
Thank You.
Re: Can you give me some hints?I know I should use DP,but i don't know how to solve it.
Posted by BFL 24 May 2005 11:43
i think using recursive with memoization is more efficient than dp in this problem, because recursive don't search all the state.