1831: 计算N的阶乘
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:1
Description
请计算n的阶乘(1<=n<=100)
n的阶乘计算公式为:n!=n*(n-1)*(n-2)*...*1,如:5!=5*4*3*2*1=120
n的阶乘计算公式为:n!=n*(n-1)*(n-2)*...*1,如:5!=5*4*3*2*1=120
Input
一个整数n(1<=n<=100)
Output
n的阶乘
Sample Input Copy
20
Sample Output Copy
2432902008176640000