貴金屬分割(1)黃金分割數之斐波那契數列

首先引入我之前寫的一個函數代碼: long FibIter(int n) { //用迭代的方式求解Fibonacci數列 int twoback=1,oneback=1,current; int i; if (n==1||n==2) return 1; else for
相關文章
相關標籤/搜索