Run ID:5512

提交时间:2024-11-23 19:43:10

#include<iostream> using namespace std; int main(){ int a=0,b=0; while(a<=1000){ b++; a+=b; } cout<<b; }