Run ID:155393

提交时间:2026-06-07 11:15:45

#include<bits/stdc++.h> using namespace std; long long jiecheng(long long x){ if(x==1) return 1; else{ return jiecheng(x-1)*x; } } int main(){ int n; cin>>n; cout<<jiecheng(n); return 0; }