TC KLastNonZeroDigits

From Algorithmist
Jump to navigation Jump to search

Summary[edit]

A basic math problem. Twenty factorial fits in a 64-bit signed integer so pretty much any approach will work.

From TopCoder Single Round Match 341.