[BOJ 15232] Rectangles
View as PDF
Submit solution
Assembly, Awk, C, C++, Java, Pascal, Perl, Python, Sed, Text
Points:
1
Time limit:
2.0s
Memory limit:
512M
Problem type
Allowed languages
Read two integer numbers R and C from the standard input and then print R lines with C asterisks () each.</p>
Example (R=3, C=5):
** * *</pre>Example (R=2, C=10):
** **## 입력 형식The first line will contain an interger R. The number of lines to print.
The second line will contain an integer C. The number of asterisks to print in each line.
R, C will be at most 20.
출력 형식
Print a rectangle of R lines and C columns.
예제 입력
3 5예제 출력
***** ***** *****
Comments