Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
84018 sh25_shenpy Hanoi双塔问题 Python3 Accepted 27 MS 3668 KB 104 2026-02-05 16:17:49

Tests(10/10):


n = int(input()) result = (1 << (n + 1)) - 2 # 位运算左移相当于乘以 2^(n+1) print(result)


Judgement Protocol: