[例5.7]杨辉三角
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.
题目描述
给出 ,输出杨辉三角的前 行。
如果你不知道什么是杨辉三角,可以观察样例找找规律。
输入格式
输出格式
样例 #1
样例输入 #1
6
样例输出 #1
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
暑期A班作业
- Status
- Done
- Rule
- IOI
- Problem
- 6
- Start at
- 2024-7-19 22:30
- End at
- 2024-7-29 22:30
- Duration
- 240 hour(s)
- Host
- Partic.
- 16