答案

关键词  •  2天前


include

using namespace std;

int main() {

int a;
int b = 0, x = 0;
cin >> a;
for (int c = 0; c <= a; c = c + b) {
	x++;
	b++;
}
cout << x;
return 0;

}


评论:

请先登录,才能进行评论