Count the coins: Difference between revisions
m
→{{header|EasyLang}}
Line 1,212:
.
chind = sum * 7 + kind
if cache[chind]
cache[chind] = r1 + r2▼
.
call count sum - val[kind] kind r2
call count sum kind - 1 r1
r = r1 + r2
.
call count 100 4 r
|