Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
3200 D班-汤依宁 1加到多少才超过N C++ 解答错误 0 1 MS 260 KB 145 2024-12-22 16:41:09

Tests(0/5):


#include <bits/stdc++.h> using namespace std; int main() { int a=1,sum=0,b; cin>>b; for(;sum<b;a+=1) { sum=sum+a; } cout<<a; }


测评信息: