#D. 画Y形【蓝桥杯】

    Type: Default 1000ms 256MiB

画Y形【蓝桥杯】

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

自从小蓝学会编程之后,他酷爱用编程的方式写字母。你能帮助他写出字母Y吗?

输入格式

一行一个整数n。(1<n<100,且n为偶数)

输出格式

输出高度为2n-1行的大写字母Y

样例

2
* *
 *
 *
4
*     *
 *   *
  * *
   *
   *
   * 
   *

提示

第一行第一颗*左侧无多余空格,每行最后一颗*后无多余空格。

黑猫生铁级公开赛05

Not Attended
Status
Done
Rule
OI
Problem
4
Start at
2024-6-29 18:00
End at
2024-7-8 2:00
Duration
200 hour(s)
Host
Partic.
12