Knapsack problem/0-1: Difference between revisions

Content added Content deleted
m (→‎{{header|Wren}}: Minor tidy)
Line 8,428: Line 8,428:
{{libheader|Wren-fmt}}
{{libheader|Wren-fmt}}
Based on the Go example, though modified to give output in tabular form.
Based on the Go example, though modified to give output in tabular form.
<syntaxhighlight lang="ecmascript">import "/fmt" for Fmt
<syntaxhighlight lang="wren">import "./fmt" for Fmt


var wants = [
var wants = [