王金檐 • 1个月前
#include<bits/stdc++.h> using namespace std; int x; int t(long long n,int a,int i){ if(n<x){ t(n+1,a*i,i+1); }else{ return a; } } int main(){ cin>>x; cout<<t(1,1,2); return 0; }
评论:
7891主播艾了