A - A Recursive Function Editorial by nok0
\(f(n)=n!\) であることを用いると、例えば Python では以下のような単純な実装で AC が得られます。
実装例(Python):
import math
print(math.factorial(int(input())))
posted:
last update:
\(f(n)=n!\) であることを用いると、例えば Python では以下のような単純な実装で AC が得られます。
実装例(Python):
import math
print(math.factorial(int(input())))
posted:
last update: