#B. C++-打印对称的直角三角形

    Type: Default 1000ms 256MiB

C++-打印对称的直角三角形

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.

Background

Description

打印对称的直角三角形。

根据输入的n(正整数,n<=1<=20),如:输入n=5:

image

Format

Input

第一行输入n

Output

输出相应的图形

Samples

5
*****
 ****
  ***
   **
    *
    **
    ***
    ****
    *****
10
**********
 *********
  ********
   *******
    ******
     *****
      ****
       ***
        **
         *
         **
         ***
         ****
         *****
         ******
         *******
         ********
         *********
         **********

Limitation

1s, 1024KiB for each test case.

HBXX2024年春季学期期末C++社团编程操作比赛

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
3
Start at
2024-6-4 19:00
End at
2024-6-9 19:00
Duration
120 hour(s)
Host
Partic.
29