提交时间:2024-12-22 16:42:17
运行 ID: 3204
#include<iostream> using namespace std; int main() { int a,c = 1,b,e; cin>>a; while (b <= a) { b += c; c++; e++; } cout<<e; }