Test case failing all

Please check all test cases failing. I have removed -1 elements prices and applied 0-1 knapsack

@piyush.bansal8158625
hello piyush,
In wt vector u need to push weight and for ith orange weight will be i+1 but u r pushing a[i]

still failing

replace n with s. n is redundant in this problem.
u are given price of w (in u case s) oranges.

I didn’t get ur change and logic. Why replacing n with s. n is no of shops,s is oranges.
i have removed x shops from n which have -1 values. and make size as n-x and used in dp