iterativedpknapsack.output
来自「datastucutre and algorithms, application」· OUTPUT 代码 · 共 15 行
OUTPUT
15 行
Enter number of objects and knapsack capacity
Enter profit and weight of object 1
Enter profit and weight of object 2
Enter profit and weight of object 3
Enter profit and weight of object 4
Enter profit and weight of object 5
Optimal value is 15
Rest of table is
0 0 3 3 6 6 9 9 9 10 11
0 0 0 0 6 6 6 6 6 10 11
0 0 0 0 6 6 6 6 6 10 10
0 0 0 0 6 6 6 6 6 6 6
1 1 0 0 1
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?