Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
91090 sh25_shengmy Hanoi双塔问题 Python3 通过 27 MS 3656 KB 106 2026-06-12 15:03:52

Tests(10/10):


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


测评信息: