#P322. FunSq(n)

FunSq(n)

題目描述

Define a function, called FunSq(n), that takes an integer  as an input, and output the shape as displayed in the sample output.

輸入格式

1 <= N <= 9 and N is an integer.

輸出格式

Lines of strings that looks like the shape in the sample output.

Samples

3
11111
12221
12321
12221
11111
4
1111111
1222221
1233321
1234321
1233321
1222221
1111111
6
11111111111
12222222221
12333333321
12344444321
12345554321
12345654321
12345554321
12344444321
12333333321
12222222221
11111111111

原始資料

  • Zero1 題號:a322
  • Hydro 題號:Z0322
  • Locale:zh_TW
  • Display:practice