Run ID:124040

提交时间:2025-07-10 16:23:39

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