Type: Default 1000ms 256MiB

倒数字三角形

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

以下的数字倒直角三角形是由二个数确定的:一个数是行数R,1<=R<=39,另一个是种子数S,1<=S<=9。S放在左上角,照着样例输出文件的样子,写一个程序,根据输入的二个数打印出相应的数字倒直角三角形。

Input Format

单独一行,二个用空格隔开的整数

Output Format

输出倒直角数字三角形,输出时数字与数字之间不留空格字符。

Sample

input

6 1

output

124727
 35838
  6949
   151
    62
     3
## Hint
时间限制:$1 \text {s}$

20200818二维数组练习

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
11
Start at
2020-8-18 8:25
End at
2020-8-21 8:25
Duration
72 hour(s)
Host
Partic.
23