Problems
Status
Typing
Examing
Growing
游客
Signup
|
Login
中文
|
En
3816 - 第四章:for循环结构《练习1:计算n的阶乘》
通过次数
0
提交次数
0
旧版界面
Time Limit : 1 秒
Memory Limit : 128 MB
计算 s = n!, n!表示n的阶乘, n!= 1*2*3*4*…*n ,其中n由键盘输入。输出s的值。
(n<=10)
Input
4
Output
24
Examples
Input Format
5
Output Format
120
All
C
C++
Java
Python
Pascal
上一题
下一题
Code
Discuss
Stats
×