Count the coins: Difference between revisions
→{{header|Picat}}: Added {{out}}. Deleted the test part.
(→{{header|Picat}}: Added {{out}}. Deleted the test part.) |
|||
Line 2,654:
end
end,
Sum = Sum1.</lang>
<pre>[n = 100,l = [25,10,5,1]]▼
▲Output:
▲[n = 100,l = [25,10,5,1]]
num_sols = 242
Line 2,686 ⟶ 2,680:
num_sols = 133339833445334138335450001
CPU time 5.402 seconds.</pre>
=={{header|PicoLisp}}==
|