-->
当前位置:首页 > 题库

PROGRAMMING:Yanghui triangle

Luz5年前 (2021-05-10)题库454
Find the first n lines of Yang Hui triangle.
###Input format:
Enter n (n < 10) value.
###Output format:
Output the first n rows of Yang Hui triangle data, each data occupies 4 columns.
###Input example:
```in
five
```
###Output example:
```out
one
1 1
1 2 1
1 3 3 1
1 4 6 4 1
```






answer:If there is no answer, please comment