Master_coder's blog

By Master_coder, history, 7 years ago, In English

i want to know how to optimize classic 0/1 knapsack to 0/k knapsack . the problem link is https://open.kattis.com/problems/thief

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
7 years ago, hide # |
Rev. 3  
Vote: I like it 0 Vote: I do not like it

.

»
7 years ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

I don't think that this question simply asks for 0/k knapsack (or bounded knapsack, the popular name). You can check here and here for a better explanation.