#P5725. 【深基4.习8】求三角形

【深基4.习8】求三角形

Problem 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 99.

Output Format

Output the rectangles and the triangle.

4
01020304
05060708
09101112
13141516

      01
    0203
  040506
07080910

Hint

Translated by ChatGPT 5