Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68184 陆宥呈 桃子问题 Python3 Accepted 26 MS 3724 KB 167 2024-03-19 20:25:48

Tests(1/1):


Code:

def peaches(day, peach): if day == 1: return peach else: return peaches(day - 1, (peach + 1) * 2) total = peaches(10, 1) print(total)