解题
2026-10-28 17:26:53
发布于:北京
6阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main(){
int a;
cin >> a;
for(int i=1;i<=a;i+=1){
char q='a';
for(int j=1;j<=i;j+=1){
cout << q;
q+=1;
}cout << endl;
}
}
这里空空如也







有帮助,赞一个