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>
 
{{Output:}}
</lang>
<pre>[n = 100,l = [25,10,5,1]]
Test:
 
<lang picat>Picat> go</lang>
 
Output:
<pre>
[n = 100,l = [25,10,5,1]]
num_sols = 242
 
Line 2,686 ⟶ 2,680:
num_sols = 133339833445334138335450001
 
CPU time 5.402 seconds.</pre>
</pre>
 
=={{header|PicoLisp}}==
495

edits