AC

哈基米已睡着 · 发布于 2025-08-12 · 浏览 364 回复 0

include <bits/stdc++.h>

using namespace std;

int main() {

int n, x = 0;
cin >> n;
while (x <= n) {
	for (int m = 1; m <= x; m++) {
		cout << "*";
		if (m == x) {
			cout << endl;
		}
	}
	x++;
}
return 0;

}

全部回复 共 0 条

还没有人回复。往下写第一条。

发表回复