Run ID:96549

提交时间:2024-11-09 11:17:29

#include<iostream> using namespace std; int main(){ int s=0; int n=1; while(s<1000){ s=s+n; n++; } cout<<n; }