Type: Default 1000ms 256MiB

练38.2 大写字母 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.

说明

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

输入格式

一行一个整数 nn(1<n<501< n < 50)。

输出格式

输出高度为 2×n12×n−1 行的大写字母 "YY"。
提示: 第一行第一颗左侧无多余空格,每行最后一颗 "*" 后无多余空格。

样例

4
*     *
 *   *
  * *
   *
   *
   *
   *

B班第四天测试

Not Attended
Status
Done
Rule
Ledo
Problem
13
Start at
2025-7-24 19:00
End at
2025-7-24 21:00
Duration
2 hour(s)
Host
Partic.
7