提交时间:2025-11-24 15:11:55

运行 ID: 74260

#incude<iostream> using namespace std; int feb(int n) { if(n == 1||n == 2) { return 1; } else { return feb(n - 1)+feb(n - 2); } } int main() { int N; cin>>N; cout<<feb(N)<<endl; return 0; }