If we take item 2, 1 then, well, the index after that will of course be And the available weight will be 3.
如果我们装了2号物品,然后,它之后的索引号当然是,我们还剩下3磅。
麻省理工公开课 - 计算机科学及编程导论课程节选
i-1 But with index i minus 1.
但是同时返回的是索引号。
So that gives me my index.
所以,这就是我的索引号。
应用推荐
模块上移
模块下移
不移动