Type: RemoteJudge 1000ms 256MiB

【深基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.

题目描述

给出 n(n20)n(n\le20),输出杨辉三角的前 nn 行。

如果你不知道什么是杨辉三角,可以观察样例找找规律。

6
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1

【入门4】数组

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
20
Start at
2024-10-15 9:45
End at
2024-11-1 1:45
Duration
400 hour(s)
Host
Partic.
16