Run ID:155391
提交时间:2026-06-07 11:13:12
#include<bits/stdc++.h> using namespace std; int age(int x){ if(x==1){ return 1; } else{ return age(x-1)*x; } } int main(){ int n; cin>>n; cout<<age(n); return 0; }