1768: 【CSP嵌套循环】沙漏█

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:5 Solved:5

Description

赵老师最近在编一个操作系统,正好编到鼠标的繁忙状态,需要一个沙漏符号,正好大家都在学 lns="http://www.w3.org/1998/Math/MathML">C++ ,你的任务就是帮赵老师编一个程序打印一个沙漏符号。

Input

一个整数 lns="http://www.w3.org/1998/Math/MathML">n ,符号的行数(保证 lns="http://www.w3.org/1998/Math/MathML">n 是大于 lns="http://www.w3.org/1998/Math/MathML">1 的奇数)。

Output

沙漏符号,使用 * 打印。

Sample Input Copy

5

Sample Output Copy

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