#Z0210. 求n的阶
求n的阶
输出一个数n,求n的阶。
请使用递归完成。
5! = 5*4*3*2*1 = 120
样例输入1
5
样例输出1
120
样例输入2
6
样例输出2
720
Statistics
Related
In following contests:
输出一个数n,求n的阶。
请使用递归完成。
5! = 5*4*3*2*1 = 120
样例输入1
5
样例输出1
120
样例输入2
6
样例输出2
720
By signing up a 战码少年-战码青少年编程(专业信息学奥赛编程训练) universal account, you can submit code and join discussions in all online judging services provided by us.