Run ID:120366
提交时间:2025-05-25 14:43:27
#include<iostream> using namespace std; int main(){ int a,b=0; cin>>a; for(int i=1;i<=a;i++){ for(int q=1;q<=a-b;q++){ cout<<" "; } b++; for(int h=1;h<=b;h++){ cout<<"*"; } cout<<endl; } return 0; }