Run ID:1225
提交时间:2023-08-23 09:34:22
#include<iostream> using namespace std; int main(){ int i,s; i=s=0; while(s<1000){ s+=i; i++; } cout<<i-1; return 0; }