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; }