#970. 阶乘
阶乘
Background
求N的阶乘!
就是求1 * 2 * 3 * …… * N的积。
Input
输入一行,一个整数n(n<=10)
Output
输出一行,n的阶乘的结果
Samples
5
120
Limitation
1s, 1024KiB for each test case.
求N的阶乘!
就是求1 * 2 * 3 * …… * N的积。
输入一行,一个整数n(n<=10)
输出一行,n的阶乘的结果
5
120
1s, 1024KiB for each test case.