Sunday, March 13, 2016

CodeFights Zeroes

Only 5 * 2 can end the number with an additional zero, there are definitely more 2 divisors in that entire multiplication than 5 , so we need to calculate how many times we can divide that number on 5 without a reminder.



        Source Code

No comments:

Post a Comment