2484: Chinese Character Art
| Result | TIME Limit | MEMORY Limit | Run Times | AC Times | JUDGE |
|---|---|---|---|---|---|
| 3s | 65536K | 1487 | 519 | Standard |
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
2 0
Sample Output
+++++ + + + +++++ + + + +++++
Problem Source: skywind
This problem is used for contest: 102
Submit / Problem List / Status / Discuss
本博客介绍如何使用字符'+'绘制特定大小的特殊汉字'田'(tian),详细步骤包括输入处理和输出格式说明。
139

被折叠的 条评论
为什么被折叠?



