Run ID:127193

提交时间:2025-07-25 16:04:31

#include<bits/stdc++.h> using namespace std; int main() { int n; cin >> n; for (int c = n; c >= 1; c--) { for (int i = 1; i <= n; i++) { if (i >= c) { cout << "*"; } else { cout << " "; } } cout << endl; } return 0; }