提交时间:2019-09-21 18:18:41

运行 ID: 720

#include<iostream> int main(){ int n=1,sum=1,c; scanf("%d",&c); while(n<=c){ sum=sum*n; n=n+1; } printf("%d",sum); return 0; }