1175: 杨辉三角

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

Description

输出n行杨辉三角,n由键盘输入。

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

Input

三角的行数

Output

对应行数的杨辉三角,行内的数字用两个空格分隔

Sample Input Copy

6

Sample Output Copy

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