提交时间:2023-10-18 13:06:56
运行 ID: 107001
#include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; int s=1; for(int b=1;b<a;b++) { s*=b; } cout<<s; }