#include<bits/stdc++.h>
#define ll long long int
using namespace std;
const ll maxn=2e6+10;
int n;
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
cin>>n;
char a='B',c='A';
for(int i=1;i<=n;i++)
{
for(int j=1;j<=n;j++)
{
cout<<c;
c++;
}
c=a,a++;
cout<<endl;
}
return 0;
}
我的想法挺奇怪