03 2025 档案
摘要:#include <bits/stdc++.h> using namespace std; int fc(int s){ if(s<=2){ return 1; }else{ return fc(s-1)+fc(s-2); } } int main(){ int n; cin>>n; cout<<f
阅读全文
摘要:#include <bits/stdc++.h> using namespace std; int fc(int s){ if(s==1){ return 1; }else{ return s*fc(s-1); } } int main(){ int n; cin>>n; cout<<fc(n);
阅读全文
摘要:#include <bits/stdc++.h> using namespace std; int fc(int s){ if(s==1){ return 1; }else{ cout<<s<<" "; return fc(s-1); } } int main(){ int n; cin>>n; c
阅读全文

浙公网安备 33010602011771号