Problems Description
<span style="color:#336699;font-family:'Times New Roman';font-size:18px;line-height:28px;background-color:#BBD8E9;">一对小兔,一items月后长成大兔也可生一对小兔。即兔子的对数是:Page 一items月1对,Page 二items月1对,Page 三items月2对,Page 四items月3对……,假设兔子不死。问nitems月后Total有多少对兔子?</span>
Input格式
<span style="color:#336699;font-family:'Times New Roman';font-size:18px;line-height:28px;background-color:#BBD8E9;">一行:一items整数n,(0<n<36)</span>
Output格式
<span style="color:#336699;font-family:'Times New Roman';font-size:18px;line-height:28px;background-color:#BBD8E9;">一行:一items整数,表示nitems月后兔子对数</span>
Sample
Sample Input 1
2
Sample Output 1
1
Submit Code
请先Login后Submit
🤖 AI 解题助手
OpenRouter
就绪