1152: 【while循环】求n阶乘
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:124
Solved:99
Description
输入一个正整数n,求n!
n!=1*2*3*…*n
Input
输入一个正整数n
Output
一行,包行一个整数代表n阶乘的值
Sample Input Copy
5
Sample Output Copy
120
HINT
5!=1*2*3*4*5=120