Jump to content

Knapsack problem/Bounded: Difference between revisions

m
→‎{{header|Picat}}: Adding {{out}}
m (→‎{{header|Picat}}: Adding {{out}})
Line 3,311:
MaxWeight = 400.</lang>
 
{{out}}
Output:
<pre>These are the items to pick:
Item Weight Value
Line 3,328:
Total weight: 396
Total value: 1010</pre>
 
 
=={{header|PicoLisp}}==
495

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.