Count the coins/0-1: Difference between revisions
m
→{{header|Julia}}
No edit summary |
|||
Line 136:
if sum(choice) == targetsum
combos += 1
verbose && println("$choice sums to $targetsum")
for perm in permutations(choice)
Line 221 ⟶ 220:
464 combinations, 3782932 permutations.
</pre>
=={{header|MiniZinc}}==
|