#2601. C++-GESP 2023-09认证二级-编程题01(小杨的X字矩阵)(拓展05-田字)

C++-GESP 2023-09认证二级-编程题01(小杨的X字矩阵)(拓展05-田字)

Background

Description

形成田字(如输入21,输入要求为奇数并>=5)

image

image

Format

Input

Output

Samples

21
+++++++++++++++++++++
+         +         +
+         +         +
+         +         +
+         +         +
+         +         +
+         +         +
+         +         +
+         +         +
+         +         +
+++++++++++++++++++++
+         +         +
+         +         +
+         +         +
+         +         +
+         +         +
+         +         +
+         +         +
+         +         +
+         +         +
+++++++++++++++++++++

Limitation

1s, 1024KiB for each test case.