竞赛
考级
666
王元亨
好难
李双临
djerwek'odskmwusdjfkwfjnmeosdkmedfikjem,d fwsfwesdfewsdwww.sjksdkf.sxipvmdxc;dsflkemdsz didxfjsdkiokfmdlxc..sxww.w.xc.com29tfjdhttps://afdian.net/p/0164034c016c11ebafcb52540025c377 ewsujmdkqlwsiujhnwskdijsklsjkwoasl,mdskl,xzdkmsxokcldc
O不OK
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; char a=''; for(int i=1;i<=n;i++){ for(int j=1;j<=n-i;j++){ cout<<" "; } for(int j=1;j<=2i-1;j++){ cout<<a; } cout<<endl; } for(int i=1;i<=n;i++){ for(int j=1;j<=n-1;j++){ cout<<" "; } cout<<"*"<<endl; } return 0; }