题目描述

Write a program that prints the following diamond shape. You may use output statements that print a single asterisk (*), a single blank or a single newline. Maximize your use of repetition (with nested for statements) and minimize the number of output statements.


输入格式


输出格式

    *
   ***
  *****
 *******
*********
 *******
  *****
   ***
    *

样例数据

输入


                            

输出


                        

备注


操作

评测记录

优秀代码

信息

时间限制: 1s
内存限制: 128MB
评测模式: Normal

题解