提交时间:2025-11-19 21:19:16

运行 ID: 74027

#include<bits/stdc++.h> using namespace std; int f(int n) { if(n==1||n==2){ cout<<n; } else cout<<(f(n-1)+f(n-2)) return 0; }