TC PersistentNumber

From Algorithmist
Jump to navigation Jump to search

Summary[edit]

Repeatedly take the product of a number's digits.

From TopCoder Single Round Match 343.