Problem2541--【入门】输出杨辉三角的前N行

2541: 【入门】输出杨辉三角的前N行

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

输出杨辉三角的前N行(N<10)。

Input

输入只有一行,包括1个整数N。(N<10)

Output

输出只有N行.

Sample Input Copy

5

Sample Output Copy

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

Source/Category