Product of digit runs – codegolf.stackexchange.com

We seem to quite like digit runs lately, so here's a fairly simple challenge. Given a positive integer, split it into it's digit runs, and return the product. For example: 11122333 would become ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Product of digit runs – codegolf.stackexchange.com"