Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
73457 sh25_shenpy 求阶乘的和 C++ 解答错误 0 MS 248 KB 196 2025-11-09 21:07:06

Tests(0/1):


#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; } cout<<x; return 0; }


测评信息: