ID προβλήματος: wavelet
Τίτλος: WaveLet
Βαθμός Δυσκολίας: 2
Ημερομηνία Εισαγωγής: 2000-06-05
Σχόλια:

WaveLet

In this problem you are to generate a triangular wave form according to specified numbers.

The input will contain three integers (K,L,M) separated by white-space (spaces, new-lines, tabs). There may be leading or trailing white-space. The first one is the number of peaks. The second is the "inter-peaks" height. The third one is the peaks height.

0<K<10
1<L<10
1<L<=M<10

For the output of your program, you will be printing wave forms as show in the example. No blank lines, leading or trailing space should exist.


Παραδείγματα εισόδου/εξόδου
ΕίσοδοςΈξοδος
5 3 5
#
##
###
####
#####
####
###
####
#####
####
###
####
#####
####
###
####
#####
####
###
####
#####
####
###
##
#
2
2
2
#
##
##
#