Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
128371 江婉儿 奖励积分 C++ 通过 100 0 MS 232 KB 147 2024-01-25 17:05:01

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { long long m,n=1,s=0; cin>>m; while(s<m) { s+=n; n++; } cout<<n-1; }


测评信息: