Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 526 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 526 Bytes

0-1_Knapsack_Problem

By Bottom-up Dynamic programming

Print the value of optimal solution of 0-1 Knapsack Problem



Input

value : random number (1 <= value <= 2n)

weight : sequentially increasing number (1 to n)

W : image



실행 결과

image