菱形打印
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.
说明
输入一个整数n(n≤100),输出一个高度为,由*号组成的菱形。
例如:
输入:5
输出:
*
***
*****
*******
*********
*******
*****
***
*
输入格式
输入一个整数n(n≤100);
输出格式
高度为n的直角三角形。
4
*
***
*****
*******
*****
***
*
测试
- Status
- Done
- Rule
- Ledo
- Problem
- 4
- Start at
- 2025-11-8 16:45
- End at
- 2025-11-8 18:45
- Duration
- 2 hour(s)
- Host
- Partic.
- 7