Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
77050 sh25_zhangjiajia 高精度阶乘的和 C++ 解答错误 0 MS 248 KB 279 2025-12-21 10:34:54

Tests(2/4):


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


测评信息: