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

PROGRAMMING:Sfy one of the @ character rectangles*

Luz5年前 (2021-05-10)题库444
SF seniors need to draw n * n rectangles when doing experiments. It's too troublesome to draw them one by one. Let's help them solve the problem. According to the n value read in, the character rectangle with @ as filling character, n width and N height is output.
###Input format:
The input data has only one positive integer n (1 ≤ n ≤ 50).
###Output format:
Please output a character rectangle with @ as padding character, n width and N height.
###Input example:
Here is a set of inputs. For example:
```in
ten
```
###Output example:
The corresponding output is given here. For example:
```out
@@@@@@@@@@
@@@@@@@@@@
@@@@@@@@@@
@@@@@@@@@@
@@@@@@@@@@
@@@@@@@@@@
@@@@@@@@@@
@@@@@@@@@@
@@@@@@@@@@
@@@@@@@@@@
```







answer:If there is no answer, please comment