提交时间:2019-10-05 16:16:30

运行 ID: 1176

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