Run ID:155424

提交时间:2026-06-07 11:49:06

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