Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67489 吴梓玄 13猴子吃桃 Python3 Accepted 34 MS 3764 KB 120 2024-03-16 16:21:47

Tests(10/10):


Code:

def peach(day): if day==n: return 1 return peach(day+1)*2+2 n=int(input()) res=peach(1) print(res)