Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67545 吴梓玄 桃子问题 Python3 Accepted 28 MS 3744 KB 145 2024-03-16 17:10:12

Tests(1/1):


Code:

def peach_count(n): if n == 10: return 1 return 2 * (peach_count(n+1) + 1) total_peach = peach_count(1) print(total_peach)