Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
73451 sh25_shenpy 求阶乘的和 C++ 编译错误 0 MS 0 KB 197 2025-11-09 20:57:34

Tests(0/0):


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


测评信息: