r/ProgrammingProblems • u/WeAreButFew • Jan 02 '11
Last nonzero digit of 12345678!
How would you find the last nonzero digit of a large factorial?
13
Upvotes
r/ProgrammingProblems • u/WeAreButFew • Jan 02 '11
How would you find the last nonzero digit of a large factorial?
View all comments
Show parent comment
1
u/tripzilch Jan 04 '11
It would be cool if people asking about Project Euler challenges in this sub-reddit, would mark them as such in the self.post. IMO.