Heading for the future
摘要:下面是五种实现斐波那契数列的方法 循环 function fibonacci(n){ var res1 = 1; var res2 = 1; var sum = res2; for(var i = 1;i < n;i ++){ sum = res1 + res2; res1 = res2; res2 阅读全文
posted @ 2020-09-08 22:33 一只菜鸟攻城狮啊 阅读(148) 评论(0) 推荐(0) 编辑