提交时间:2019-09-27 20:33:15
运行 ID: 1017
#include<iostream> int main(){ int n,a=1,b=1; scanf("%d",&n); while(a<=n){ b=b*a; a++; } printf("%d",b); return 0; }