f(n)

0

0 votes
Problem

f(n) is a function defined as the last 5 non-zero digit in n! For example,

12! = 479001600 so f(12)= 90016 15! = 1307674368000 so f(10)= 74368 20! = 2432902008176640000 so f(20)=17664

Find f(100,000,000,000)

Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?