FJ的字符串
#include<iostream>
#include<string.h>
using namespace std;
int main(){
string str="";
int N;
cin>>N;
for(int i=0; i<N; i++){
string s=str;
str.append(1,'A'+i);
str+=s;
}
cout<<str<<endl;
return 0;
}
标签:std,main,int,基础训练,字符串,FJ,include
来源: https://www.cnblogs.com/A-Little-Nut/p/10350974.html