Run ID:7757
提交时间:2025-05-17 19:26:42
#include<iostream> using namespace std; int main(){ int s=0,i=1; while(s<=1000){ s+=i; i++; } cout<<i-1; return 0; }