import math
n=int(input())
m=math.factorial(n)
while m>=10:
m//=10
print(m)
python 1089: 阶乘的最高位
最新推荐文章于 2021-10-04 09:26:18 发布
import math
n=int(input())
m=math.factorial(n)
while m>=10:
m//=10
print(m)