#include <stdio.h>
int main()
{
int m;
while(scanf("%d",&m)!=EOF)
{
int sum,i;
sum=1;
for(i=1;i<=m;i++)
sum=sum*i;
printf("%d\n",sum);
}
return 0;
}
题目552-小数阶乘-nyoj20140811,布布扣,bubuko.com
时间: 2024-10-19 20:34:12