C++-循环嵌套-输入一个正整数n(n<=5),输出数字组成的菱形(拓展07-函数)
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
使用函数来解决。
C++-循环嵌套-输入一个正整数n(n<=5),输出数字组成的菱形
Format
Input
Output
Samples
3
1
123
12345
123
1
4
1
123
12345
1234567
12345
123
1
5
1
123
12345
1234567
123456789
1234567
12345
123
1
Limitation
1s, 1024KiB for each test case.
输入一个正整数n(n<=5),输出数字组成的菱形
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 8
- Start at
- 2024-7-7 0:00
- End at
- 2024-7-22 0:00
- Duration
- 360 hour(s)
- Host
- Partic.
- 4