{{ block title }}Knapsack Problem{{ endblock }} {{ block content }} Your knapsack has a capacity of {{c}}kg.
Item # Weight (in kg) Value (in Euro)
1 {{w.0}} {{v.0}}
2 {{w.1}} {{v.1}}
3 {{w.2}} {{v.2}}
4 {{w.3}} {{v.3}}
5 {{w.4}} {{v.4}}
6 {{w.5}} {{v.5}}
7 {{w.6}} {{v.6}}
8 {{w.7}} {{v.7}}
9 {{w.8}} {{v.8}}
10 {{w.9}} {{v.9}}

Please pick items to put into your knapsack. You should try to fit the most valuable combination that weighs at most {{c}}kg. {{ formfields }} {{ next_button }} {{ endblock }}