Problem MP: 数字走向1

Problem MP: 数字走向1

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

SubmitProblemList

Description

输入整数N,输出相应方阵。(如果浏览器样例有点乱,浏览模式选择兼容模式)

Input

一个整数N。( 0 < n < 10 )

Output

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

Sample Input Copy

5

Sample Output Copy

  1  2  3  4  5
  6  7  8  9 10
 11 12 13 14 15
 16 17 18 19 20
 21 22 23 24 25

HINT

输出方法
cout << setw(3) << 要输出的数字;
或
printf("%3d", 要输出的数字)