Online Judge
Toggle navigation
C++题库系统 OJ
首页
问题列表
状态
排行榜
登录
首页
状态
66935
Run ID
作者
问题
语言
测评结果
Time
Memory
代码长度
提交时间
66935
胡海峰老师
桃子问题
Python3
Accepted
28 MS
3724 KB
113
2024-03-12 14:32:37
Tests(1/1):
Code:
def peaches(n): if n==10: return 1 return peaches(n+1) *2 +2 res = peaches(1) print(res)