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)