菱形打印
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
*
***
*****
*******
*****
***
*
B班第四天测试
- 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