Knapsack problem/Unbounded: Difference between revisions

Content added Content deleted
Line 2,328: Line 2,328:
=={{header|Nim}}==
=={{header|Nim}}==
{{trans|Pascal}}
{{trans|Pascal}}
This is a brute-force solution translated from Pascal to Nim which is straightforward.
This is a brute-force solution translated from Pascal to Nim, which is straightforward.
<lang Nim>
<lang Nim>
# Knapsack unbounded. Brute force solution.
# Knapsack unbounded. Brute force solution.