300996: CF188D. Asterisks
Memory Limit:256 MB
Time Limit:2 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
D. Asteriskstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output
You are given a number n. Print n lines, i-th line should consist of i characters "*". Lines' indices are 1-based.
InputThe only line of input contains an integer n (1 ≤ n ≤ 50).
OutputOutput the described pattern.
ExamplesInput3Output
*Input
**
***
6Output
*
**
***
****
*****
******