Problem Description
A Fibonacci sequence is calculated by adding the previous two members the sequence, with the first two members being both 1.
F(1) = 1, F(2) = 1, F(3) = 1,F(4) = 1, F(n>4) = F(n - 1) + F(n-2) + F(n-3) + F(n-4)
Your task is to take a number as input, and print that Fibonacci number.
Input
Each line will contain an integers. Process to end of file.
Output
For each case, output the result in a line.
Sample Input
100
Sample Output
4203968145672990846840663646
Note:
No generated Fibonacci
fiddler 拦截小结
好的 iOS 代码习惯
查看约束优先级的方法
定义接口常用约定
让系统照片选择器的导航栏变蓝的代码
ZT C语言实现字符串倒序
ZT 蓝牙的AVCTP协议笔记
ZT 蓝牙的AVDTP协议笔记
ZT A2DP协议笔记