Run ID:139993

提交时间:2025-12-13 14:05:30

#include<bits/stdc++.h> using namespace std; int main() { int s=0,k=1; while(s<=1000){ s+=k; k++; } cout<<k--; return 0; }