Jump to content

Subset sum problem: Difference between revisions

m
→‎{{header|REXX}}: add a comment in the header section. -- ~~~~
(→‎{{header|REXX}}: re-inserted missing PROCEDURE statement. -- ~~~~)
m (→‎{{header|REXX}}: add a comment in the header section. -- ~~~~)
Line 541:
=={{header|REXX}}==
This REXX solution isn't limited to integers.
<br>This is a brute force solution.
<lang rexx>/*REXX pgm finds some non-null subsets of a weighted list whose sum=0. */
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.