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

PROGRAMMING:Print Yang Hui triangle

Luz5年前 (2021-05-10)题库423
This problem requires printing in accordance with the prescribed format before $$n $$line Yang Hui triangle.
###Input format:
Input gives $$n $$($$1 / Le n / Le 10 $$) in one line.
###Output format:
Output the front $$n $$line Yanghui triangle in regular triangle format. Each number has four fixed digits.
###Input example:
```in
six
```
###Output example:
```out
one
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
```






answer:If there is no answer, please comment