P5725 [Deep Basic 4.Exercise 8] Draw Triangles.
Description
Imitate the sample problem. Print squares in different directions, then print a triangular matrix. There is a blank line in the middle.
Input Format
Input the size of the matrix, not greater than $9$.
Output Format
Output the rectangles and the triangle.
Explanation/Hint
Translated by ChatGPT 5