Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67469 汤弘毅 13猴子吃桃 Python3 Accepted 30 MS 3764 KB 147 2024-03-16 16:08:04

Tests(10/10):


Code:

n = int(input()) def eat(times,nums): if times == 1: return nums else: return eat(times-1,(nums+1)*2) print(eat(n,1))