Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
74721 sh25_shenpy 高精度阶乘的和 C++ 解答错误 0 MS 248 KB 297 2025-11-30 22:13:43

Tests(0/4):


#include <bits/stdc++.h> using namespace std; int main( ) { int n; int i=1,j=1; long x=0,sum=1; cin>>n; while(i<=n){ while(j<=i){ sum*=j; j=j+1; } x+=sum; i=i+1; sum=1; } cout<<x; return 0; }


测评信息: