850 - I2P(I)2015_Yang_Lab_5 Scoreboard

Time

2015/11/05 13:25:00 2015/11/05 14:45:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
10768 wave

10768 - wave   

Description

A character wave consistss of lines of characters, which has a parameter, length L.  The number of characters in the first line is 1, and is increased by one in the every following lines.  After the number of character reaches L, it starts to descrease until the number of characters become 1 again.  For example, the following is a character wave of length 3.

#

##

###

##

#   

Print out N character waves consequtively.  Each wave is built by the character C and the length is L.
 

Input

There are three inputs, separated by a space.  The first one is a character C; the second one and the third one are integers, specifying the length L and the number of waves N to print.
 

Output

Print out N waves consisting of character C and of length L.
Note that you do not need to print ‘\n’ at the end of the output.

Sample Input  Download

Sample Output  Download

Tags

10401Contest



Discuss