1 条题解

  • 0
    @ 2025-9-26 21:09:06

    #include<bits/stdc++.h> using namespace std; int main(){ long long a,l=0,k=1; cin>>a; for(int i=1;i<=a;i++){ for(int j=1;j<=i;j++){ k*=j; }l+=k; k=1; } cout<<l;

    return 0;
    

    }

    • 1

    信息

    ID
    1815
    时间
    1000ms
    内存
    128MiB
    难度
    10
    标签
    递交数
    3
    已通过
    2
    上传者