提交时间:2019-09-23 20:23:43
运行 ID: 933
#include<iostream> int main(){ int sum,n,m; sum=1; m=1; scanf("%d",&n); while(m<=n){ sum=sum*m; m=m+1; } printf("%d",sum); return 0; }