x阵

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目背景

在战斗节中,A村与B村打的十分激烈。但是小明却在A村中。

题目描述

接下来,你要帮助小明创造请打的x阵。

输入

一个整数nn

输出

nnn * n的矩阵,右边和下边写有横竖的和。(详情见)

样例1

4
1001 2
0110 2
0110 2
1001 2

2222

样例2

5
10001 2
01010 2
00100 1
01010 2
10001 2

22122

数据范围

1<=n<=301 <= n <= 30

小明

Not Attended
Status
Done
Rule
OI
Problem
13
Start at
2024-6-16 7:00
End at
2025-1-10 15:00
Duration
5000 hour(s)
Host
Partic.
5