liulechen @ 2024-11-20 18:10:54
#include<bits/stdc++.h>
using namespace std;
long long n;
int fei(int x){
if(x<=2) return 1;
return fei(x-1)+fei(x-2);
}
int main(){
cin>>n;
cout<<fei(n+1);
return 0;
}
by Brilliant11001 @ 2024-11-20 18:26:51
@liulechen 这道题要写高精
by liulechen @ 2024-11-20 18:32:03
@Brilliant11001
thanks