#E282. 【基础】计算N的阶乘
【基础】计算N的阶乘
说明
请计算n的阶乘(1<=n<=100)
n的阶乘计算公式为:n!=n*(n-1)*(n-2)*...*1,如:5!=5*4*3*2*1=120
输入格式
一个整数n(1<=n<=100)
输出格式
n的阶乘
样例
20
2432902008176640000
请计算n的阶乘(1<=n<=100)
n的阶乘计算公式为:n!=n*(n-1)*(n-2)*...*1,如:5!=5*4*3*2*1=120
一个整数n(1<=n<=100)
n的阶乘
20
2432902008176640000
By signing up a 追梦算法网 universal account, you can submit code and join discussions in all online judging services provided by us.