Rectangle
You’re fascinated by the black square of Kazimir Malevich. You decide to write a program that would print a rectangle of any size. The rectangle should consist of hashtags (#).
The program receives two integers - h and w. It should print a rectangle with h lines and w columns in the output.
Input | Output |
|---|---|
10 | #################### |
Constraints
Time limit: 2 seconds
Memory limit: 512 MB
Output limit: 1 MB
