竞赛
考级
#include<iostream> using namespace std; int main(){ int a; cin>>a; int b=65; for(int i=1;i<=a;i++){ for(int k=1;k<=a-i;k++) { cout<<" "; } for(int j=1;j<=(2*i-1);j++){ char c=b; cout<<c; } b+=1; cout<<endl; } return 0; }
鲁班—超级无敌残忍暴龙兽👍👍