摘要: #include using namespace std; int Fibonacci(int n) { /*斐波拉契数列问题-递归*/ //if(n==0)return 0; //if(n==1)return 1; //else return ( Fibonacci(n-1) + Fibonacci(n-2) ); /*斐波拉契数列问题-循坏*/ ... 阅读全文
posted @ 2018-05-08 20:55 任轻言 阅读(686) 评论(0) 推荐(0)