#1035. 【入门4】杨辉三角

【入门4】杨辉三角

说明

给出 <math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>�</mi><mo stretchy="false">(</mo><mi>�</mi><mo>≤</mo><mn>20</mn><mo stretchy="false">)</mo></mrow></semantics></math>n(n20),输出杨辉三角的前 <math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>�</mi></mrow></semantics></math>n 行。

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

样例

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