提交时间:2024-12-22 16:38:25

运行 ID: 3186

#include<bits/stdc++.h> using namespace std; int main(){ int a=0,n,b=1; cin>>a; while(a>n){ a+=b; b++; } }