竞赛
考级
十年OI一场空,___________
亚洲卷王 AK IOI
#include<bits/stdc++.h> using namespace std; int fb(int x){ if(x<=2){ return 1; } return fb(x-1)+fb(x-2); } int main(){ int n; cin>>n; cout<<fb(n); return 0; }
编程猫喵喵喵
rt,记忆化的本质就是 dpdpdp 思想,这种题都不用找方程,注意下细节就行了
打表都可以过
何浩天