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 1005. Stone Pile

I need a help,How can solove it using Dp(not BFS or DFS)?
Posted by 复活_Angel 7 Feb 2006 18:33
please give me a hand and tell me how to Dp......
Re: I need a help,How can solove it using Dp(not BFS or DFS)?
Posted by 复活_Angel 7 Feb 2006 20:16
I wonder if anyone could help me.Thanks.
DP? ;) Use brute force, it is knapsack problem, NP-complete one. There might be dp solution using a lot of memory, but why? (-)
Posted by Dmitry 'Diman_YES' Kovalioff 7 Feb 2006 21:06