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

PROGRAMMING:Print special triangles

Luz5年前 (2021-05-10)题库436
Input a number N and output a specific triangle of N layers. The number growth in the triangle is regular.
###Input format:
1 integer n, 1 < = n < = 10
###Output format:
Style specific triangles
###Input example:
```in
five
```
###Output example:
```out
1 6 10 13 15
2 7 11 14
3 8 12
4 9
five
```
###






answer:If there is no answer, please comment