Run ID:91698
提交时间:2024-09-22 12:47:03
#include<bits/stdc++.h> using namespace std; int main(){ int n=0; int s=0; while(s<1000){ s=s+n; n++; } cout<<n-1; return 0; }