C++-循环嵌套-对于给定的自然数n(n<20),在屏幕上输出仅由“*”构成的n行的直角三角形
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<20),在屏幕上输出仅由“*”构成的n行的直角三角形 如:n=4时 输出: * **
Format
Input
Output
Samples
5
*
**
***
****
*****
Limitation
1s, 1024KiB for each test case.
C++基础知识02(循环-for和while及嵌套)
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 18
- Start at
- 2024-5-5 0:00
- End at
- 2024-5-25 20:00
- Duration
- 500 hour(s)
- Host
- Partic.
- 28