求 n 的阶乘
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
试题描述
输入一个正整数n,求n! n!=1* 2* 3*…*n
输入要求
输入一个正整数n
输出要求
一行,包行一个整数代表n阶乘的值
输入样例
5
输出样例
120
知识点及提示
5!=1*2 *3 *4 *5=120