2245: 对角线方阵

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:77 Solved:64

Description

输入整数N,输出相应方阵。



Input

    输入整数N,输出相应方阵。



Output

    一个方阵,每个数字的场宽为3。



Sample Input Copy

5

Sample Output Copy

0 0 0 0 1
0 0 0 1 0
0 0 1 0 0
0 1 0 0 0
1 0 0 0 0

Source/Category