TC KLastNonZeroDigits

From Algorithmist
Jump to: navigation, 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.