【例48.1】 斐波那契数列

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

输出斐波那契数列第nn项。11,11,22,33,55,88,1313……

输入格式

一个正整数n(n≤20),n (n\le 20) ,表示第nn项。

输出格式

第nn项是多少。

样例

4
3

20251012编程挑战精英赛训练

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
51
Start at
2025-9-24 15:00
End at
2025-11-5 7:00
Duration
1000 hour(s)
Host
Partic.
58