#include<stdio.h>
int fun(int x)
{
if(x<=2)return 0;
else
if(x>=3&&x<=4)return 1;
else
return fun(x-1)+fun(x-2);
}
void main()
{
int a=36;
printf("第三十六个数为%d",fun(a));
}
int fun(int x)
{
if(x<=2)return 0;
else
if(x>=3&&x<=4)return 1;
else
return fun(x-1)+fun(x-2);
}
void main()
{
int a=36;
printf("第三十六个数为%d",fun(a));
}