#include <stdio.h>
int main() {
int n;
char simbolos[52] = {
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'
};
int dimensao = 2 * n + 1;
char matriz[104][104];
for (int camada = 0; camada < n; camada++) {
char caractere = simbolos[camada];
for (int i = camada; i < dimensao - camada; i++) {
for (int j = camada; j < dimensao - camada; j++) {
matriz[i][j] = caractere;
}
}
}
matriz[n][n] = '*';
for (int i = 0; i < dimensao; i++) {
for (int j = 0; j < dimensao; j++) {
//if (j != dimensao - 1) printf(" ");
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGludCBuOwogICAgc2NhbmYoIiVkIiwgJm4pOwoKICAgIGNoYXIgc2ltYm9sb3NbNTJdID0gewogICAgICAgICdBJywgJ0InLCAnQycsICdEJywgJ0UnLCAnRicsICdHJywgJ0gnLCAnSScsICdKJywgJ0snLCAnTCcsICdNJywKICAgICAgICAnTicsICdPJywgJ1AnLCAnUScsICdSJywgJ1MnLCAnVCcsICdVJywgJ1YnLCAnVycsICdYJywgJ1knLCAnWicsCiAgICAgICAgJ2EnLCAnYicsICdjJywgJ2QnLCAnZScsICdmJywgJ2cnLCAnaCcsICdpJywgJ2onLCAnaycsICdsJywgJ20nLAogICAgICAgICduJywgJ28nLCAncCcsICdxJywgJ3InLCAncycsICd0JywgJ3UnLCAndicsICd3JywgJ3gnLCAneScsICd6JwogICAgfTsKCiAgICBpbnQgZGltZW5zYW8gPSAyICogbiArIDE7CiAgICBjaGFyIG1hdHJpelsxMDRdWzEwNF07CgogICAgZm9yIChpbnQgY2FtYWRhID0gMDsgY2FtYWRhIDwgbjsgY2FtYWRhKyspIHsKICAgICAgICBjaGFyIGNhcmFjdGVyZSA9IHNpbWJvbG9zW2NhbWFkYV07CgogICAgICAgIGZvciAoaW50IGkgPSBjYW1hZGE7IGkgPCBkaW1lbnNhbyAtIGNhbWFkYTsgaSsrKSB7CiAgICAgICAgICAgIGZvciAoaW50IGogPSBjYW1hZGE7IGogPCBkaW1lbnNhbyAtIGNhbWFkYTsgaisrKSB7CiAgICAgICAgICAgICAgICBtYXRyaXpbaV1bal0gPSBjYXJhY3RlcmU7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9CgogICAgbWF0cml6W25dW25dID0gJyonOwoKICAgIGZvciAoaW50IGkgPSAwOyBpIDwgZGltZW5zYW87IGkrKykgewogICAgICAgIGZvciAoaW50IGogPSAwOyBqIDwgZGltZW5zYW87IGorKykgewogICAgICAgICAgICBwcmludGYoIiVjIiwgbWF0cml6W2ldW2pdKTsKICAgICAgICAgICAgLy9pZiAoaiAhPSBkaW1lbnNhbyAtIDEpIHByaW50ZigiICIpOwogICAgICAgIH0KICAgICAgICBwcmludGYoIlxuIik7CiAgICB9CgogICAgcmV0dXJuIDA7Cn0K