摘要:
int fibonacci(int n){ if(n == 1) return 1; if( n == 2) return 1; else return fibonacci(n-1) + fibonacci(n-2);}int main() { printf("%d\n",fibonacci(10)); system("pause"); return 0;} 阅读全文
posted @ 2012-08-25 08:54
三少_爷
阅读(108)
评论(0)
推荐(0)

浙公网安备 33010602011771号