Run ID:68042

提交时间:2024-03-18 19:16:24

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