Count the coins/0-1: Difference between revisions

The result should be a number
No edit summary
(The result should be a number)
Line 7:
 
How many ways can you do it ?
 
The result should be a number.
 
For instance the answer is 10 when coins = [1, 2, 3, 4, 5] and sum = 6.
<br/>
;Task
678

edits