Run ID:84289

提交时间:2024-07-15 14:57:50

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