Knapsack problem/Continuous: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
Line 3,936: Line 3,936:
'welt ': 3.500000e+00></pre>
'welt ': 3.500000e+00></pre>


=={{header|Vlang}}==
=={{header|V (Vlang)}}==
<syntaxhighlight lang="vlang">struct Item {
<syntaxhighlight lang="v (vlang)">struct Item {
item string
item string
weight f64
weight f64