兔子(宜用递归)
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.
题目背景
小明发现青青草原上有一群兔子。
题目描述
设一对兔子一个月生一对小兔子。问,个月有多少对兔子(假设不会死亡)
输入
一行,
输出
一行,代表个有后共有几只兔子
样例1
1
1
样例2
3
2
数据范围
小明
- Status
- Done
- Rule
- OI
- Problem
- 13
- Start at
- 2024-6-16 7:00
- End at
- 2025-1-10 15:00
- Duration
- 5000 hour(s)
- Host
- Partic.
- 5