Run ID:143755

提交时间:2026-01-17 16:57:40

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int raw(int x){ if(x==0) return 0; else if(x==1) return 1; else (x>=3); return raw(x-1)+raw(x-2); } int main(){ int x; cin>>x; cout<<raw(x); return 0; }