We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
I think it should isk -= weights[i-1], the k is the bp remaining weight
k -= weights[i-1]