Help need for this google codejam question ?
I used exchange argument to find sorting criteria . then applying knapsack to find which shoud i take . question
my codei am getting RE can any one help me ?
Codeforces Round 1100 (Div. 1 + Div. 2) Upsolving