12021: C语言7.13
Memory Limit:32 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:5
Solved:0
Description
输出杨辉三角形的前n行。
Input
第一行有一个正整数n,保证n不超过20。
Output
共有n行,从第1行至第n行,每行输出与行数相等个数的整数,整数后输出一个空格。
请注意行尾输出换行。
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