提交时间:2024-05-25 14:53:34
运行 ID: 148805
#include<iostream> #include<cstdio> using namespace std; int main(){ int n; long long result = 1; cin>>n; for (int i=1;i<= n;i++) { result*=i; } cout<<result<<endl; return 0; }