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
1005
. Stone Pile
复活_Angel
I need a help,How can solove it using Dp(not BFS or DFS)?
[2] // Problem
1005. Stone Pile
7 Feb 2006 18:33
please give me a hand and tell me how to Dp......
复活_Angel
Re: I need a help,How can solove it using Dp(not BFS or DFS)?
[1] // Problem
1005. Stone Pile
7 Feb 2006 20:16
I wonder if anyone could help me.Thanks.
Dmitry 'Diman_YES' Kovalioff
DP? ;) Use brute force, it is knapsack problem, NP-complete one. There might be dp solution using a lot of memory, but why? (-)
// Problem
1005. Stone Pile
7 Feb 2006 21:06
© 2000–2025
Timus Online Judge Team
. All rights reserved.