5842: K5-9-4 拐角方阵
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
输入一个正整数n,生成一个n*n的拐角方阵
Input
一行一个正整数n,1<=n<=20
Output
共n行,每行n个正整数,每个正整数占5列
Sample Input Copy
7
Sample Output Copy
1 1 1 1 1 1 1
1 2 2 2 2 2 2
1 2 3 3 3 3 3
1 2 3 4 4 4 4
1 2 3 4 5 5 5
1 2 3 4 5 6 6
1 2 3 4 5 6 7