Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
76128 sh25_shenpy 求n的值 C++ 编译错误 0 MS 0 KB 213 2025-12-15 21:11:30

Tests(0/0):


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


测评信息: