数字の三角形

単一の整数 n が与えられたとき、各行に 1 2 3 ... row_number の要素があるような数字の三角形を描くことが求められます。

入力

出力

4

1 12 123 1234

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue