#P5721. 【深基4.例6】数字直角三角形

【深基4.例6】数字直角三角形

Problem Description

Given nn, output a numeric right triangle whose leg length is nn. All numbers consist of 22 digits. If a number does not have 22 digits, add a leading 00.

Input Format

Input one positive integer nn.

Output Format

Output the numeric right triangle as required by the problem statement.

5
0102030405
06070809
101112
1314
15

Hint

Constraints: 1n131\le n\le 13.

Translated by ChatGPT 5