You are viewing a single comment's thread. Return to all comments →
My python3 solution but time limit execution
def solve(n): if n == 0: return 1 i = 5 while True: if (n*"0") in str(math.factorial(i)): return i i += 1
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Matrix Tracing
You are viewing a single comment's thread. Return to all comments →
My python3 solution but time limit execution