#A084. 求阶乘
求阶乘
说明
利用for循环求的值。
提示,。
输入格式
输入一个正整数,对于所有数据,。
输出格式
输出的值。
样例
4
24
利用for循环求n!的值。
提示,n!=1×2×...×n。
输入一个正整数n,对于所有数据,1≤n≤20。
输出n!的值。
4
24
By signing up a 黑猫OJ universal account, you can submit code and join discussions in all online judging services provided by us.