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

PROGRAMMING:Little bear asks for a teacher

Luz5年前 (2021-05-10)题库454
One day, Xiao Xiong came to Nanling goat farm and sideline products store to learn how to transplant rice seedlings from the goat master.
Goat master received him in the shop and asked, "do you really want to learn?"
Bear seriously said: "I really want to learn."
"If you come to visit me, I'll have to test your knowledge of craftsmanship before I'm satisfied." Said the goat master, smoothing his beard.
Little bear jumped up and said, "OK!"
The goat Master said: "the day before yesterday morning, Mr. White rabbit came to me and asked me to help him plant seedlings in his family's field. His field is very special, so
[doge][doge][doge][doge][doge]
In order for bear to succeed in his apprenticeship, we inspected Mr. White Rabbit's field in advance. It was originally on a whole mountain, and half of the land on the left was purchased by the landlord Wangzai
###Input format:
It is known that Mr. White Rabbit's field is an n * n right triangle field. Enter an integer n (0 < n < = 30)
###Output format:
Use '*' to represent the field after transplanting seedlings, and print out the appearance of n * n triangle land after transplanting seedlings
###Input example:
Here is a set of inputs. For example:
```in
three
five
```
###Output example:
The corresponding output is given here. For example:
```out
*
**
***
*
**
***
****

```







answer:If there is no answer, please comment