6 条题解

  • 1
    @ 2025-12-14 13:27:52

    //汉诺塔的移动次数 #include<bits/stdc++.h> using namespace std; int main(){ long long n; cin>>n; cout<<fixed<<setprecision(0)<<pow(2,n)-1; return 0; }

    信息

    ID
    1776
    时间
    1000ms
    内存
    256MiB
    难度
    3
    标签
    递交数
    93
    已通过
    47
    上传者