Knapsack problem

Codes

Nikolai Yu. Zolotykh