Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67970 杜昊诚 13猴子吃桃 Python3 Accepted 30 MS 3764 KB 140 2024-03-17 19:23:51

Tests(10/10):


Code:

def numpeach(d): if d == n: return 1 ans=(numpeach(d+1)+1)*2 return ans n=int(input()) ans=numpeach(1) print(ans)