1872: 【CSP二维数组】输出杨辉三角的前N行▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

输出杨辉三角的前 lns="http://www.w3.org/1998/Math/MathML">N 行( lns="http://www.w3.org/1998/Math/MathML">N<10 )。

Input

输入只有一行,包括 lns="http://www.w3.org/1998/Math/MathML">1 个整数 lns="http://www.w3.org/1998/Math/MathML">N 

Output

输出只有 lns="http://www.w3.org/1998/Math/MathML">N 行。

Sample Input Copy

5

Sample Output Copy

1
1 1
1 2 1
1 3 3 1
1 4 6 4 1