#P5721. 【深基4.例6】数字直角三角形
【深基4.例6】数字直角三角形
Problem Description
Given , output a numeric right triangle whose leg length is . All numbers consist of digits. If a number does not have digits, add a leading .
Input Format
Input one positive integer .
Output Format
Output the numeric right triangle as required by the problem statement.
5
0102030405
06070809
101112
1314
15
Hint
Constraints: .
Translated by ChatGPT 5