Half#2666

Half

1 Sekunde
128 Megabyte
Schwer

Fill an n \times n array in the following way: the secondary diagonal contains zeros, all cells above it contain twos, and all cells below it contain ones.

Eingabe

One positive integer n~(n \le 20).

Ausgabe

Print the array filled as described above.

Beispiele

Beispiel 1

Loading
Loading