求斐波那契数列
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.
Description
给出一个数 ,请求出斐波那契数列的第 项。
Format
Input
一行,一个整数 。
Output
一个整数,表示第 项斐波那契数。
Samples
5
5
Hints
1,1,2,3,5,8...
其中,第五项为5。
Limitation
2025/07/18新生课前测
- Status
- Done
- Rule
- Ledo
- Problem
- 5
- Start at
- 2025-7-18 7:45
- End at
- 2025-7-18 8:45
- Duration
- 1 hour(s)
- Host
- Partic.
- 24