#6170. 练47.4 小明吃苹果

练47.4 小明吃苹果

Description

小明家里现在有nn个苹果,她在每天睡觉之前可以吃121\sim 2个苹果。小明还有个姐姐May,每天May会等小明睡觉后(为了谦让妹妹)吃11个苹果(如果没苹果的话就不吃)。问总共有多少种吃法。

Input Format

一个整数nn。(0n100\le n\le 10)

Output Format

一个整数,既吃苹果的方案总数。

5
4

Source

http://bas.ssoier.cn:8086/problem_show.php?pid=3292 函数