joj2484
来源:互联网 发布:护照图片识别软件 编辑:程序博客网 时间:2024/05/22 03:07
Welcome, �γɺ�
[JPoints: 925, Sender!:0/1]
[JPoints: 925, Sender!:0/1]
2484: Chinese Character Art
Chinese characters is a wonderful graphic. Many foreigners write Chinese characters on his T-shirt. You can draw a special Chinese characters '田' (tian) on different size now.
Input
Each line of input is a positive interger N (N<=40). The input file is terminated by N=0.
Output
For each input, you should draw graphic using character '+' with given size N. The width of your drawing is 2*N+1, and the height is 2*N+1. Just see the sample to understand the deail. Output one blank line after each symbol.
Sample Input
20
Sample Output
++++++ + +++++++ + ++++++
Problem Source: skywind
This problem is used for contest: 102
Submit /Problem List / Status / Discuss