Run ID:124044

提交时间:2025-07-10 16:24:28

#include<bits/stdc++.h> using namespace std; int main(){ int s=0; int n=1; while(s<=1000){ s += n; n++; } cout<<n<<endl; return 0; }