Run ID:92888

提交时间:2024-10-06 17:45:36

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