| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 84015 | sh25_shenpy | Hanoi双塔问题 | C++ | 编译错误 | 0 MS | 0 KB | 277 | 2026-02-05 16:13:58 |
#include <iostream> #include <boost/multiprecision/cpp_int.hpp> using namespace boost::multiprecision; using namespace std; int main() { int n; while(cin >> n){ cpp_int result = (cpp_int(1) << (n + 1)) - 2; cout << result << endl;} return 0; }