-->
当前位置:首页 > 题库

PROGRAMMING:Peel the onion

Luz5年前 (2021-05-10)题库512
Notice, notice!
At the teacher's request, we need to do a problem of printing graphics, which is the most basic ability of programmers.
Let's talk about the required graphics
AAAAA
ABBBA
ABCBA
ABBBA
AAAAA
It's outside to inside, from a to Z. Each layer is a kind of letter, and the innermost layer is one, that is, the most central one.
###Input format:
One line, an integer, that is, the number of layers of the graph
###Output format:
As shown in the figure above
###Input example:
```in
three
```
###Output example:
```out
AAAAA
ABBBA
ABCBA
ABBBA
AAAAA
```






answer:If there is no answer, please comment