Run ID:120368
提交时间:2025-05-25 14:45:30
#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-1;q++){ cout<<" "; } b++; for(int h=1;h<=b;h++){ cout<<"*"; } cout<<endl; } return 0; }