Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
110317 伍长辉 C语言6.19 Python3 Accepted 38 MS 3744 KB 66 2025-02-16 14:18:40

Tests(1/1):


Code:

n=int(input()) p=1 for i in range(n-1): p=(p+1)*2 print(p)