|
|
вернуться в форумI need a help,How can solove it using Dp(not BFS or DFS)? 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)? 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? (-) |
|
|