joj2485
来源:互联网 发布:如何自学大数据 编辑:程序博客网 时间:2024/06/04 19:21
2485: Welcome, 2008
For Chinese people, 2008 is a special year. The 29th Olympic Games will be held in Beijing. In order to express our enthusiasm, we draw a big symbol '8'.
Input
Each line of input is a positive integer N (N<=40). The input file is terminated by N=0.
Output
For each input N, you should write a fixed symbol 8 using character '*' with given size N. The width of your drawing is N+1, and the height is 2*N+1. Just see the sample to understand the detail. Output one blank line after each symbol.
Sample Input
1230
Sample Output
********** ***** ********* ** ****** ** *****
Problem Source: provided by skywind
This problem is used for contest: 103 146
Submit / Problem List / Status / Discuss