[ prog / sol / mona ]

prog


[challenge] Inverse Factorial

1 2021-06-03 11:09

Write a program that takes an integer m as input and returns the integer n such that n! = m. It should accept m with up to one million digits and print an error message if m isn't the factorial of a non-negative integer.

22


VIP:

do not edit these