Run ID:72414

提交时间:2024-05-05 18:19:37

# include<iostream> # include<cstdio> using namespace std; int main(){ int s,sum=0,i; i=1; while(sum<1000){ sum+=i; i++; } cout<<i; return 0; }