#1937. 练38.2 大写字母 Y

    ID: 1937 Type: RemoteJudge 1000ms 64MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>http://bas.ssoier.cn:8086/problem_show.php?pid=3231循环结构

练38.2 大写字母 Y

说明

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

输入格式

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

输出格式

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

Source

http://bas.ssoier.cn:8086/problem_show.php?pid=3231 循环结构