A. 【深基5.习7】杨辉三角

    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

柳泉提升班12月2日练习赛

Not Attended
Status
Done
Rule
IOI
Problem
2
Start at
2025-12-2 17:15
End at
2025-12-3 17:15
Duration
24 hour(s)
Host
Partic.
29