#include
typedef unsigned int UINT;
long int Fib(int);
int main(void)
{
long int foo;
foo = Fib(45);
printf("the num is : %d\n",foo);
return 0;
}
long int Fib(int N)
{
if(N <= 1)
return 1;
else
return Fib(N - 1) +Fib(N -2);
}
阅读(651) | 评论(0) | 转发(0) |